home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Non-ISO extended-ASCII text, with CR line terminators
| default (weak)
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 53 |Received|-Date: S|
|00000010| 75 6e 2c 20 34 20 44 65 | 63 20 31 39 39 34 20 31 |un, 4 De|c 1994 1|
|00000020| 35 3a 35 33 3a 32 37 20 | 2b 30 31 30 30 0d 46 72 |5:53:27 |+0100.Fr|
|00000030| 6f 6d 3a 20 70 6f 74 74 | 69 65 72 40 63 6c 69 70 |om: pott|ier@clip|
|00000040| 70 65 72 2e 65 6e 73 2e | 66 72 20 28 46 72 61 6e |per.ens.|fr (Fran|
|00000050| 63 6f 69 73 20 50 6f 74 | 74 69 65 72 29 0d 53 75 |cois Pot|tier).Su|
|00000060| 62 6a 65 63 74 3a 20 63 | 73 6d 70 2d 64 69 67 65 |bject: c|smp-dige|
|00000070| 73 74 2d 76 33 2d 30 37 | 33 0d 54 6f 3a 20 63 73 |st-v3-07|3.To: cs|
|00000080| 6d 70 2d 64 69 67 65 73 | 74 40 65 6e 73 2e 66 72 |mp-diges|t@ens.fr|
|00000090| 0d 44 61 74 65 3a 20 53 | 75 6e 2c 20 34 20 44 65 |.Date: S|un, 4 De|
|000000a0| 63 20 31 39 39 34 20 31 | 35 3a 35 33 3a 32 38 20 |c 1994 1|5:53:28 |
|000000b0| 2b 30 31 30 30 20 28 4d | 45 54 29 0d 58 2d 4d 61 |+0100 (M|ET).X-Ma|
|000000c0| 69 6c 65 72 3a 20 45 4c | 4d 20 5b 76 65 72 73 69 |iler: EL|M [versi|
|000000d0| 6f 6e 20 32 2e 34 20 50 | 4c 32 33 5d 0d 4d 69 6d |on 2.4 P|L23].Mim|
|000000e0| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0d 43 |e-Versio|n: 1.0.C|
|000000f0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|00000100| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|00000110| 3d 49 53 4f 2d 38 38 35 | 39 2d 31 0d 43 6f 6e 74 |=ISO-885|9-1.Cont|
|00000120| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|00000130| 6f 64 69 6e 67 3a 20 38 | 62 69 74 0d 45 72 72 6f |oding: 8|bit.Erro|
|00000140| 72 73 2d 54 6f 3a 20 6c | 69 73 74 6d 61 6e 40 65 |rs-To: l|istman@e|
|00000150| 6e 73 2e 66 72 0d 52 65 | 70 6c 79 2d 54 6f 3a 20 |ns.fr.Re|ply-To: |
|00000160| 70 6f 74 74 69 65 72 40 | 63 6c 69 70 70 65 72 2e |pottier@|clipper.|
|00000170| 65 6e 73 2e 66 72 0d 58 | 2d 53 65 71 75 65 6e 63 |ens.fr.X|-Sequenc|
|00000180| 65 3a 20 37 39 0d 0d 43 | 2e 53 2e 4d 2e 50 2e 20 |e: 79..C|.S.M.P. |
|00000190| 44 69 67 65 73 74 20 20 | 20 20 20 20 20 20 20 20 |Digest | |
|000001a0| 20 20 20 53 75 6e 2c 20 | 30 34 20 44 65 63 20 39 | Sun, |04 Dec 9|
|000001b0| 34 20 20 20 20 20 20 20 | 56 6f 6c 75 6d 65 20 33 |4 |Volume 3|
|000001c0| 20 3a 20 49 73 73 75 65 | 20 37 33 0d 20 0d 54 6f | : Issue| 73. .To|
|000001d0| 64 61 79 27 73 20 54 6f | 70 69 63 73 3a 0d 20 0d |day's To|pics:. .|
|000001e0| 20 20 20 20 20 20 20 20 | 3f 20 54 48 49 4e 4b 20 | |? THINK |
|000001f0| 50 61 73 63 61 6c 3a 20 | 63 61 6c 6c 69 6e 67 20 |Pascal: |calling |
|00000200| 63 6f 64 65 0d 20 20 20 | 20 20 20 20 20 41 6e 79 |code. | Any|
|00000210| 20 73 63 69 65 6e 63 65 | 20 74 6f 20 73 65 67 6d | science| to segm|
|00000220| 65 6e 74 69 6e 67 3f 0d | 20 20 20 20 20 20 20 20 |enting?.| |
|00000230| 50 6c 75 67 2d 49 6e 73 | 20 77 2d 20 43 46 4d 0d |Plug-Ins| w- CFM.|
|00000240| 20 20 20 20 20 20 20 20 | 53 61 76 69 6e 67 20 61 | |Saving a|
|00000250| 20 50 49 43 54 20 74 6f | 20 61 20 66 69 6c 65 20 | PICT to| a file |
|00000260| 2d 20 68 6f 77 3f 0d 20 | 20 20 20 20 20 20 20 53 |- how?. | S|
|00000270| 70 72 69 74 65 20 41 6e | 69 6d 61 74 69 6f 6e 20 |prite An|imation |
|00000280| 54 6f 6f 6c 6b 69 74 20 | 32 2e 33 61 31 0d 20 20 |Toolkit |2.3a1. |
|00000290| 20 20 20 20 20 20 55 50 | 50 27 73 20 26 20 63 61 | UP|P's & ca|
|000002a0| 6c 6c 69 6e 67 20 63 6f | 6d 70 6c 65 74 69 6f 6e |lling co|mpletion|
|000002b0| 20 70 72 6f 63 73 0d 0d | 0d 0d 54 68 65 20 43 6f | procs..|..The Co|
|000002c0| 6d 70 2e 53 79 73 2e 4d | 61 63 2e 50 72 6f 67 72 |mp.Sys.M|ac.Progr|
|000002d0| 61 6d 6d 65 72 20 44 69 | 67 65 73 74 20 69 73 20 |ammer Di|gest is |
|000002e0| 6d 6f 64 65 72 61 74 65 | 64 20 62 79 20 46 72 61 |moderate|d by Fra|
|000002f0| 6e 63 6f 69 73 20 50 6f | 74 74 69 65 72 0d 28 70 |ncois Po|ttier.(p|
|00000300| 6f 74 74 69 65 72 40 63 | 6c 69 70 70 65 72 2e 65 |ottier@c|lipper.e|
|00000310| 6e 73 2e 66 72 29 2e 0d | 20 0d 54 68 65 20 64 69 |ns.fr)..| .The di|
|00000320| 67 65 73 74 20 69 73 20 | 61 20 63 6f 6c 6c 65 63 |gest is |a collec|
|00000330| 74 69 6f 6e 20 6f 66 20 | 61 72 74 69 63 6c 65 20 |tion of |article |
|00000340| 74 68 72 65 61 64 73 20 | 66 72 6f 6d 20 74 68 65 |threads |from the|
|00000350| 20 69 6e 74 65 72 6e 65 | 74 20 6e 65 77 73 67 72 | interne|t newsgr|
|00000360| 6f 75 70 0d 63 6f 6d 70 | 2e 73 79 73 2e 6d 61 63 |oup.comp|.sys.mac|
|00000370| 2e 70 72 6f 67 72 61 6d | 6d 65 72 2e 20 20 49 74 |.program|mer. It|
|00000380| 20 69 73 20 64 65 73 69 | 67 6e 65 64 20 66 6f 72 | is desi|gned for|
|00000390| 20 70 65 6f 70 6c 65 20 | 77 68 6f 20 72 65 61 64 | people |who read|
|000003a0| 20 63 2e 73 2e 6d 2e 70 | 2e 20 73 65 6d 69 2d 0d | c.s.m.p|. semi-.|
|000003b0| 72 65 67 75 6c 61 72 6c | 79 20 61 6e 64 20 77 61 |regularl|y and wa|
|000003c0| 6e 74 20 61 6e 20 61 72 | 63 68 69 76 65 20 6f 66 |nt an ar|chive of|
|000003d0| 20 74 68 65 20 64 69 73 | 63 75 73 73 69 6f 6e 73 | the dis|cussions|
|000003e0| 2e 20 20 49 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |. If yo|u don't |
|000003f0| 6b 6e 6f 77 20 77 68 61 | 74 20 61 0d 6e 65 77 73 |know wha|t a.news|
|00000400| 67 72 6f 75 70 20 69 73 | 2c 20 79 6f 75 20 70 72 |group is|, you pr|
|00000410| 6f 62 61 62 6c 79 20 64 | 6f 6e 27 74 20 68 61 76 |obably d|on't hav|
|00000420| 65 20 61 63 63 65 73 73 | 20 74 6f 20 69 74 2e 20 |e access| to it. |
|00000430| 20 41 73 6b 20 79 6f 75 | 72 20 73 79 73 74 65 6d | Ask you|r system|
|00000440| 73 0d 61 64 6d 69 6e 69 | 73 74 72 61 74 6f 72 28 |s.admini|strator(|
|00000450| 73 29 20 66 6f 72 20 64 | 65 74 61 69 6c 73 2e 20 |s) for d|etails. |
|00000460| 20 49 66 20 79 6f 75 20 | 64 6f 6e 27 74 20 68 61 | If you |don't ha|
|00000470| 76 65 20 61 63 63 65 73 | 73 20 74 6f 20 6e 65 77 |ve acces|s to new|
|00000480| 73 2c 20 79 6f 75 20 6d | 61 79 0d 73 74 69 6c 6c |s, you m|ay.still|
|00000490| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 70 6f 73 74 | be able| to post|
|000004a0| 20 6d 65 73 73 61 67 65 | 73 20 74 6f 20 74 68 65 | message|s to the|
|000004b0| 20 67 72 6f 75 70 20 62 | 79 20 75 73 69 6e 67 20 | group b|y using |
|000004c0| 61 20 6d 61 69 6c 20 73 | 65 72 76 65 72 20 6c 69 |a mail s|erver li|
|000004d0| 6b 65 0d 61 6e 6f 6e 2e | 70 65 6e 65 74 2e 66 69 |ke.anon.|penet.fi|
|000004e0| 20 28 6d 61 69 6c 20 68 | 65 6c 70 40 61 6e 6f 6e | (mail h|elp@anon|
|000004f0| 2e 70 65 6e 65 74 2e 66 | 69 20 66 6f 72 20 6d 6f |.penet.f|i for mo|
|00000500| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 29 2e |re infor|mation).|
|00000510| 0d 20 0d 45 61 63 68 20 | 69 73 73 75 65 20 6f 66 |. .Each |issue of|
|00000520| 20 74 68 65 20 64 69 67 | 65 73 74 20 63 6f 6e 74 | the dig|est cont|
|00000530| 61 69 6e 73 20 6f 6e 65 | 20 6f 72 20 6d 6f 72 65 |ains one| or more|
|00000540| 20 73 65 74 73 20 6f 66 | 20 61 72 74 69 63 6c 65 | sets of| article|
|00000550| 73 20 28 63 61 6c 6c 65 | 64 0d 74 68 72 65 61 64 |s (calle|d.thread|
|00000560| 73 29 2c 20 77 69 74 68 | 20 65 61 63 68 20 73 65 |s), with| each se|
|00000570| 74 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |t corres|ponding |
|00000580| 74 6f 20 61 20 27 64 69 | 73 63 75 73 73 69 6f 6e |to a 'di|scussion|
|00000590| 27 20 6f 66 20 61 20 70 | 61 72 74 69 63 75 6c 61 |' of a p|articula|
|000005a0| 72 0d 73 75 62 6a 65 63 | 74 2e 20 20 54 68 65 20 |r.subjec|t. The |
|000005b0| 61 72 74 69 63 6c 65 73 | 20 61 72 65 20 6e 6f 74 |articles| are not|
|000005c0| 20 65 64 69 74 65 64 3b | 20 61 6c 6c 20 61 72 74 | edited;| all art|
|000005d0| 69 63 6c 65 73 20 69 6e | 63 6c 75 64 65 64 20 69 |icles in|cluded i|
|000005e0| 6e 20 74 68 69 73 20 64 | 69 67 65 73 74 0d 61 72 |n this d|igest.ar|
|000005f0| 65 20 69 6e 20 74 68 65 | 69 72 20 6f 72 69 67 69 |e in the|ir origi|
|00000600| 6e 61 6c 20 70 6f 73 74 | 65 64 20 66 6f 72 6d 20 |nal post|ed form |
|00000610| 28 61 73 20 72 65 63 65 | 69 76 65 64 20 62 79 20 |(as rece|ived by |
|00000620| 6f 75 72 20 6e 65 77 73 | 20 73 65 72 76 65 72 20 |our news| server |
|00000630| 61 74 0d 6e 65 66 2e 65 | 6e 73 2e 66 72 29 2e 20 |at.nef.e|ns.fr). |
|00000640| 20 41 72 74 69 63 6c 65 | 20 74 68 72 65 61 64 73 | Article| threads|
|00000650| 20 61 72 65 20 6e 6f 74 | 20 61 64 64 65 64 20 74 | are not| added t|
|00000660| 6f 20 74 68 65 20 64 69 | 67 65 73 74 20 75 6e 74 |o the di|gest unt|
|00000670| 69 6c 20 74 68 65 20 6c | 61 73 74 0d 61 72 74 69 |il the l|ast.arti|
|00000680| 63 6c 65 20 61 64 64 65 | 64 20 74 6f 20 74 68 65 |cle adde|d to the|
|00000690| 20 74 68 72 65 61 64 20 | 69 73 20 61 74 20 6c 65 | thread |is at le|
|000006a0| 61 73 74 20 74 77 6f 20 | 77 65 65 6b 73 20 6f 6c |ast two |weeks ol|
|000006b0| 64 20 28 74 68 69 73 20 | 69 73 20 74 6f 20 65 6e |d (this |is to en|
|000006c0| 73 75 72 65 20 74 68 61 | 74 0d 74 68 65 20 74 68 |sure tha|t.the th|
|000006d0| 72 65 61 64 20 69 73 20 | 64 65 61 64 20 62 65 66 |read is |dead bef|
|000006e0| 6f 72 65 20 61 64 64 69 | 6e 67 20 69 74 20 74 6f |ore addi|ng it to|
|000006f0| 20 74 68 65 20 64 69 67 | 65 73 74 29 2e 20 20 41 | the dig|est). A|
|00000700| 72 74 69 63 6c 65 20 74 | 68 72 65 61 64 73 20 74 |rticle t|hreads t|
|00000710| 68 61 74 0d 63 6f 6e 73 | 69 73 74 20 6f 66 20 6f |hat.cons|ist of o|
|00000720| 6e 6c 79 20 6f 6e 65 20 | 6d 65 73 73 61 67 65 20 |nly one |message |
|00000730| 61 72 65 20 67 65 6e 65 | 72 61 6c 6c 79 20 6e 6f |are gene|rally no|
|00000740| 74 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |t includ|ed in th|
|00000750| 65 20 64 69 67 65 73 74 | 2e 0d 0d 54 68 65 20 64 |e digest|...The d|
|00000760| 69 67 65 73 74 20 69 73 | 20 6f 66 66 69 63 69 61 |igest is| officia|
|00000770| 6c 6c 79 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |lly dist|ributed |
|00000780| 62 79 20 74 77 6f 20 6d | 65 61 6e 73 2c 20 62 79 |by two m|eans, by|
|00000790| 20 65 6d 61 69 6c 20 61 | 6e 64 20 66 74 70 2e 0d | email a|nd ftp..|
|000007a0| 0d 49 66 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.If you |want to |
|000007b0| 72 65 63 65 69 76 65 20 | 74 68 65 20 64 69 67 65 |receive |the dige|
|000007c0| 73 74 20 62 79 20 6d 61 | 69 6c 2c 20 73 65 6e 64 |st by ma|il, send|
|000007d0| 20 65 6d 61 69 6c 20 74 | 6f 20 6c 69 73 74 73 65 | email t|o listse|
|000007e0| 72 76 40 65 6e 73 2e 66 | 72 0d 77 69 74 68 20 6e |rv@ens.f|r.with n|
|000007f0| 6f 20 73 75 62 6a 65 63 | 74 20 61 6e 64 20 6f 6e |o subjec|t and on|
|00000800| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00000810| 6e 67 20 63 6f 6d 6d 61 | 6e 64 73 20 61 73 20 62 |ng comma|nds as b|
|00000820| 6f 64 79 3a 0d 20 20 20 | 20 68 65 6c 70 09 09 20 |ody:. | help.. |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00000840| 65 6e 64 73 20 79 6f 75 | 20 61 20 73 75 6d 6d 61 |ends you| a summa|
|00000850| 72 79 20 6f 66 20 63 6f | 6d 6d 61 6e 64 73 0d 20 |ry of co|mmands. |
|00000860| 20 20 20 73 75 62 73 63 | 72 69 62 65 20 63 73 6d | subsc|ribe csm|
|00000870| 70 2d 64 69 67 65 73 74 | 20 59 6f 75 72 20 4e 61 |p-digest| Your Na|
|00000880| 6d 65 09 41 64 64 73 20 | 79 6f 75 20 74 6f 20 74 |me.Adds |you to t|
|00000890| 68 65 20 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 0d |he maili|ng list.|
|000008a0| 20 20 20 20 73 69 67 6e | 6f 66 66 20 63 73 6d 70 | sign|off csmp|
|000008b0| 2d 64 69 67 65 73 74 09 | 09 09 52 65 6d 6f 76 65 |-digest.|..Remove|
|000008c0| 73 20 79 6f 75 20 66 72 | 6f 6d 20 74 68 65 20 6c |s you fr|om the l|
|000008d0| 69 73 74 0d 4f 6e 63 65 | 20 79 6f 75 20 68 61 76 |ist.Once| you hav|
|000008e0| 65 20 73 75 62 73 63 72 | 69 62 65 64 2c 20 79 6f |e subscr|ibed, yo|
|000008f0| 75 20 77 69 6c 6c 20 61 | 75 74 6f 6d 61 74 69 63 |u will a|utomatic|
|00000900| 61 6c 6c 79 20 72 65 63 | 65 69 76 65 20 65 61 63 |ally rec|eive eac|
|00000910| 68 20 6e 65 77 0d 69 73 | 73 75 65 20 61 73 20 69 |h new.is|sue as i|
|00000920| 74 20 69 73 20 63 72 65 | 61 74 65 64 2e 0d 0d 54 |t is cre|ated...T|
|00000930| 68 65 20 6f 66 66 69 63 | 69 61 6c 20 66 74 70 20 |he offic|ial ftp |
|00000940| 69 6e 66 6f 20 69 73 20 | 2f 2f 66 74 70 2e 64 61 |info is |//ftp.da|
|00000950| 72 74 6d 6f 75 74 68 2e | 65 64 75 2f 70 75 62 2f |rtmouth.|edu/pub/|
|00000960| 63 73 6d 70 2d 64 69 67 | 65 73 74 2e 0d 51 75 65 |csmp-dig|est..Que|
|00000970| 73 74 69 6f 6e 73 20 72 | 65 6c 61 74 65 64 20 74 |stions r|elated t|
|00000980| 6f 20 74 68 65 20 66 74 | 70 20 73 69 74 65 20 73 |o the ft|p site s|
|00000990| 68 6f 75 6c 64 20 62 65 | 20 64 69 72 65 63 74 65 |hould be| directe|
|000009a0| 64 20 74 6f 0d 73 63 6f | 74 74 2e 73 69 6c 76 65 |d to.sco|tt.silve|
|000009b0| 72 40 64 61 72 74 6d 6f | 75 74 68 2e 65 64 75 2e |r@dartmo|uth.edu.|
|000009c0| 20 43 75 72 72 65 6e 74 | 6c 79 20 6e 6f 20 70 72 | Current|ly no pr|
|000009d0| 65 76 69 6f 75 73 20 76 | 6f 6c 75 6d 65 73 20 6f |evious v|olumes o|
|000009e0| 66 20 74 68 65 20 43 53 | 4d 50 0d 64 69 67 65 73 |f the CS|MP.diges|
|000009f0| 74 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |t are av|ailable |
|00000a00| 74 68 65 72 65 2e 0d 0d | 41 6c 73 6f 2c 20 74 68 |there...|Also, th|
|00000a10| 65 20 64 69 67 65 73 74 | 73 20 61 72 65 20 61 76 |e digest|s are av|
|00000a20| 61 69 6c 61 62 6c 65 20 | 74 6f 20 57 41 49 53 20 |ailable |to WAIS |
|00000a30| 75 73 65 72 73 2e 20 20 | 54 6f 20 73 65 61 72 63 |users. |To searc|
|00000a40| 68 20 62 61 63 6b 20 69 | 73 73 75 65 73 0d 77 69 |h back i|ssues.wi|
|00000a50| 74 68 20 57 41 49 53 2c | 20 75 73 65 20 63 6f 6d |th WAIS,| use com|
|00000a60| 70 2e 73 79 73 2e 6d 61 | 63 2e 70 72 6f 67 72 61 |p.sys.ma|c.progra|
|00000a70| 6d 6d 65 72 2e 73 72 63 | 2e 20 57 69 74 68 20 4d |mmer.src|. With M|
|00000a80| 6f 73 61 69 63 2c 20 75 | 73 65 0d 68 74 74 70 3a |osaic, u|se.http:|
|00000a90| 2f 2f 77 77 77 2e 77 61 | 69 73 2e 63 6f 6d 2f 77 |//www.wa|is.com/w|
|00000aa0| 61 69 73 2d 64 62 73 2f | 63 6f 6d 70 2e 73 79 73 |ais-dbs/|comp.sys|
|00000ab0| 2e 6d 61 63 2e 70 72 6f | 67 72 61 6d 6d 65 72 2e |.mac.pro|grammer.|
|00000ac0| 68 74 6d 6c 2e 0d 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |html....|--------|
|00000ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000b00| 0d 3e 46 72 6f 6d 20 61 | 73 65 40 63 79 62 65 72 |.>From a|se@cyber|
|00000b10| 73 70 61 63 65 2e 6f 72 | 67 20 28 41 73 68 6c 65 |space.or|g (Ashle|
|00000b20| 79 20 41 20 54 68 6f 6d | 61 73 29 0d 53 75 62 6a |y A Thom|as).Subj|
|00000b30| 65 63 74 3a 20 3f 20 54 | 48 49 4e 4b 20 50 61 73 |ect: ? T|HINK Pas|
|00000b40| 63 61 6c 3a 20 63 61 6c | 6c 69 6e 67 20 63 6f 64 |cal: cal|ling cod|
|00000b50| 65 0d 44 61 74 65 3a 20 | 46 72 69 2c 20 31 38 20 |e.Date: |Fri, 18 |
|00000b60| 4e 6f 76 20 31 39 39 34 | 20 31 36 3a 35 31 3a 31 |Nov 1994| 16:51:1|
|00000b70| 35 20 2b 31 31 30 30 0d | 4f 72 67 61 6e 69 7a 61 |5 +1100.|Organiza|
|00000b80| 74 69 6f 6e 3a 20 6c 69 | 74 74 6c 65 20 74 6f 20 |tion: li|ttle to |
|00000b90| 6e 6f 6e 65 0d 0d 43 6f | 75 6c 64 20 73 6f 6d 65 |none..Co|uld some|
|00000ba0| 6f 6e 65 20 74 65 6c 6c | 20 6d 65 20 77 68 65 72 |one tell| me wher|
|00000bb0| 65 20 74 6f 20 66 69 6e | 64 20 61 20 67 6f 6f 64 |e to fin|d a good|
|00000bc0| 20 64 65 73 72 69 70 74 | 69 6f 6e 20 6f 66 20 68 | desript|ion of h|
|00000bd0| 6f 77 20 74 6f 20 77 72 | 69 74 65 20 61 6e 64 0d |ow to wr|ite and.|
|00000be0| 75 73 65 20 63 6f 64 65 | 20 79 6f 75 20 63 61 6c |use code| you cal|
|00000bf0| 6c 20 66 72 6f 6d 20 69 | 6e 73 69 64 65 20 79 6f |l from i|nside yo|
|00000c00| 75 72 20 70 72 6f 67 72 | 61 6d 20 77 69 74 68 20 |ur progr|am with |
|00000c10| 54 48 49 4e 4b 20 50 61 | 73 63 61 6c 20 69 6e 20 |THINK Pa|scal in |
|00000c20| 74 68 65 20 73 61 6d 65 | 0d 77 61 79 20 43 20 70 |the same|.way C p|
|00000c30| 72 6f 67 72 61 6d 73 20 | 63 61 6e 20 62 79 20 63 |rograms |can by c|
|00000c40| 61 6c 6c 69 6e 67 20 61 | 20 72 6f 75 74 69 6e 65 |alling a| routine|
|00000c50| 20 62 79 20 70 61 73 73 | 69 6e 67 20 61 20 70 6f | by pass|ing a po|
|00000c60| 69 6e 74 65 72 20 74 6f | 20 69 74 2e 0d 0d 65 2e |inter to| it...e.|
|00000c70| 67 2e 20 72 75 6e 6e 69 | 6e 67 20 63 6f 64 65 20 |g. runni|ng code |
|00000c80| 69 6e 20 61 20 72 65 73 | 6f 75 72 63 65 20 67 69 |in a res|ource gi|
|00000c90| 76 65 6e 20 69 74 73 20 | 68 61 6e 64 6c 65 20 28 |ven its |handle (|
|00000ca0| 6c 69 6b 65 20 64 6e 72 | 29 3b 20 6f 72 20 70 61 |like dnr|); or pa|
|00000cb0| 73 73 69 6e 67 20 61 0d | 70 6f 69 6e 74 65 72 20 |ssing a.|pointer |
|00000cc0| 74 6f 20 61 20 70 72 6f | 63 65 64 75 72 65 20 74 |to a pro|cedure t|
|00000cd0| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 73 6f 6d 65 |o be cal|led some|
|00000ce0| 77 68 65 72 65 20 65 6c | 73 65 2e 0d 0d 54 68 61 |where el|se...Tha|
|00000cf0| 6e 6b 73 21 0d 41 53 45 | 0d 0d 2d 2d 20 0d 0d 41 |nks!.ASE|..-- ..A|
|00000d00| 73 68 6c 65 79 20 41 20 | 54 68 6f 6d 61 73 0d 45 |shley A |Thomas.E|
|00000d10| 6d 61 69 6c 3a 20 61 73 | 65 40 63 79 62 65 72 73 |mail: as|e@cybers|
|00000d20| 70 61 63 65 2e 6f 72 67 | 0d 0d 2b 2b 2b 2b 2b 2b |pace.org|..++++++|
|00000d30| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00000d40| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 69 6e 67 |+++++..>|From ing|
|00000d50| 65 6d 61 72 40 6c 79 73 | 61 74 6f 72 2e 6c 69 75 |emar@lys|ator.liu|
|00000d60| 2e 73 65 20 28 49 6e 67 | 65 6d 61 72 20 52 61 67 |.se (Ing|emar Rag|
|00000d70| 6e 65 6d 61 6c 6d 29 0d | 44 61 74 65 3a 20 32 30 |nemalm).|Date: 20|
|00000d80| 20 4e 6f 76 20 31 39 39 | 34 20 31 32 3a 35 39 3a | Nov 199|4 12:59:|
|00000d90| 35 39 20 47 4d 54 0d 4f | 72 67 61 6e 69 7a 61 74 |59 GMT.O|rganizat|
|00000da0| 69 6f 6e 3a 20 28 6e 6f | 6e 65 29 0d 0d 61 73 65 |ion: (no|ne)..ase|
|00000db0| 40 63 79 62 65 72 73 70 | 61 63 65 2e 6f 72 67 20 |@cybersp|ace.org |
|00000dc0| 28 41 73 68 6c 65 79 20 | 41 20 54 68 6f 6d 61 73 |(Ashley |A Thomas|
|00000dd0| 29 20 77 72 69 74 65 73 | 3a 0d 0d 3e 43 6f 75 6c |) writes|:..>Coul|
|00000de0| 64 20 73 6f 6d 65 6f 6e | 65 20 74 65 6c 6c 20 6d |d someon|e tell m|
|00000df0| 65 20 77 68 65 72 65 20 | 74 6f 20 66 69 6e 64 20 |e where |to find |
|00000e00| 61 20 67 6f 6f 64 20 64 | 65 73 72 69 70 74 69 6f |a good d|esriptio|
|00000e10| 6e 20 6f 66 20 68 6f 77 | 20 74 6f 20 77 72 69 74 |n of how| to writ|
|00000e20| 65 20 61 6e 64 0d 3e 75 | 73 65 20 63 6f 64 65 20 |e and.>u|se code |
|00000e30| 79 6f 75 20 63 61 6c 6c | 20 66 72 6f 6d 20 69 6e |you call| from in|
|00000e40| 73 69 64 65 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |side you|r progra|
|00000e50| 6d 20 77 69 74 68 20 54 | 48 49 4e 4b 20 50 61 73 |m with T|HINK Pas|
|00000e60| 63 61 6c 20 69 6e 20 74 | 68 65 20 73 61 6d 65 0d |cal in t|he same.|
|00000e70| 3e 77 61 79 20 43 20 70 | 72 6f 67 72 61 6d 73 20 |>way C p|rograms |
|00000e80| 63 61 6e 20 62 79 20 63 | 61 6c 6c 69 6e 67 20 61 |can by c|alling a|
|00000e90| 20 72 6f 75 74 69 6e 65 | 20 62 79 20 70 61 73 73 | routine| by pass|
|00000ea0| 69 6e 67 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |ing a po|inter to|
|00000eb0| 20 69 74 2e 0d 0d 3e 65 | 2e 67 2e 20 72 75 6e 6e | it...>e|.g. runn|
|00000ec0| 69 6e 67 20 63 6f 64 65 | 20 69 6e 20 61 20 72 65 |ing code| in a re|
|00000ed0| 73 6f 75 72 63 65 20 67 | 69 76 65 6e 20 69 74 73 |source g|iven its|
|00000ee0| 20 68 61 6e 64 6c 65 20 | 28 6c 69 6b 65 20 64 6e | handle |(like dn|
|00000ef0| 72 29 3b 20 6f 72 20 70 | 61 73 73 69 6e 67 20 61 |r); or p|assing a|
|00000f00| 0d 3e 70 6f 69 6e 74 65 | 72 20 74 6f 20 61 20 70 |.>pointe|r to a p|
|00000f10| 72 6f 63 65 64 75 72 65 | 20 74 6f 20 62 65 20 63 |rocedure| to be c|
|00000f20| 61 6c 6c 65 64 20 73 6f | 6d 65 77 68 65 72 65 20 |alled so|mewhere |
|00000f30| 65 6c 73 65 2e 0d 0d 54 | 68 65 20 66 6f 6c 6c 6f |else...T|he follo|
|00000f40| 77 69 6e 67 20 69 6e 6c | 69 6e 65 20 66 75 6e 63 |wing inl|ine func|
|00000f50| 74 69 6f 6e 20 69 73 20 | 74 61 6b 65 6e 20 66 72 |tion is |taken fr|
|00000f60| 6f 6d 20 54 72 61 6e 73 | 53 6b 65 6c 2e 70 3a 0d |om Trans|Skel.p:.|
|00000f70| 0d 09 70 72 6f 63 65 64 | 75 72 65 20 43 61 6c 6c |..proced|ure Call|
|00000f80| 70 49 6e 74 20 28 6d 79 | 49 6e 74 3a 20 69 6e 74 |pInt (my|Int: int|
|00000f90| 65 67 65 72 3b 20 6d 79 | 50 72 6f 63 3a 20 50 72 |eger; my|Proc: Pr|
|00000fa0| 6f 63 50 74 72 29 3b 0d | 0d 7b 20 54 77 6f 20 63 |ocPtr);.|.{ Two c|
|00000fb0| 61 6c 6c 73 20 75 73 65 | 20 69 6e 74 65 67 65 72 |alls use| integer|
|00000fc0| 20 61 73 20 6f 6e 65 20 | 70 61 72 61 6d 65 74 65 | as one |paramete|
|00000fd0| 72 20 61 72 67 75 6d 65 | 6e 74 73 2e 20 20 54 68 |r argume|nts. Th|
|00000fe0| 69 73 20 70 72 6f 63 65 | 64 75 72 65 20 68 61 6e |is proce|dure han|
|00000ff0| 64 6c 65 73 09 7d 0d 7b | 20 62 6f 74 68 20 6f 66 |dles.}.{| both of|
|00001000| 20 74 68 65 6d 2e 09 09 | 09 09 09 09 09 09 09 09 | them...|........|
|00001010| 09 09 09 09 09 09 09 09 | 09 7d 0d 0d 09 69 6e 6c |........|.}...inl|
|00001020| 69 6e 65 0d 09 09 24 32 | 30 35 66 2c 20 09 7b 6d |ine...$2|05f, .{m|
|00001030| 6f 76 65 61 2e 6c 20 20 | 28 61 37 29 2b 2c 61 30 |ovea.l |(a7)+,a0|
|00001040| 09 09 3b 20 28 61 30 29 | 20 69 73 20 61 20 70 74 |..; (a0)| is a pt|
|00001050| 72 20 74 6f 20 73 74 72 | 69 6e 67 2c 20 34 28 61 |r to str|ing, 4(a|
|00001060| 30 29 20 69 73 20 6d 6f | 64 65 7d 0d 09 09 24 34 |0) is mo|de}...$4|
|00001070| 65 39 30 3b 0d 0d 0d 42 | 79 20 63 61 6c 6c 69 6e |e90;...B|y callin|
|00001080| 67 20 43 61 6c 6c 70 49 | 6e 74 2c 20 79 6f 75 20 |g CallpI|nt, you |
|00001090| 63 61 6c 6c 20 74 68 65 | 20 70 72 6f 63 65 64 75 |call the| procedu|
|000010a0| 72 65 20 74 68 61 74 20 | 6d 79 50 72 6f 63 20 70 |re that |myProc p|
|000010b0| 6f 69 6e 74 73 20 74 6f | 2c 20 77 69 74 68 20 6d |oints to|, with m|
|000010c0| 79 49 6e 74 0d 61 73 20 | 61 72 67 75 6d 65 6e 74 |yInt.as |argument|
|000010d0| 2e 20 55 6e 66 6f 72 74 | 75 6e 61 74 65 6c 79 2c |. Unfort|unately,|
|000010e0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 74 79 70 | there i|s no typ|
|000010f0| 65 2d 63 68 65 63 6b 69 | 6e 67 20 64 6f 6e 65 2c |e-checki|ng done,|
|00001100| 20 73 6f 20 79 6f 75 20 | 61 72 65 0d 72 65 73 70 | so you |are.resp|
|00001110| 6f 6e 73 69 62 6c 65 20 | 66 6f 72 20 73 65 6e 64 |onsible |for send|
|00001120| 69 6e 67 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |ing a po|inter to|
|00001130| 20 61 20 70 72 6f 63 65 | 64 75 72 65 20 74 68 61 | a proce|dure tha|
|00001140| 74 20 74 61 6b 65 73 20 | 65 78 61 63 74 6c 79 20 |t takes |exactly |
|00001150| 74 68 65 0d 61 72 67 75 | 6d 65 6e 74 73 20 79 6f |the.argu|ments yo|
|00001160| 75 20 61 73 73 75 6d 65 | 2e 0d 0d 6d 79 50 72 6f |u assume|...myPro|
|00001170| 63 20 63 61 6e 20 62 65 | 20 63 72 65 61 74 65 64 |c can be| created|
|00001180| 20 62 79 20 74 61 6b 69 | 6e 67 20 74 68 65 20 61 | by taki|ng the a|
|00001190| 64 64 72 65 73 73 20 6f | 66 20 74 68 65 20 70 72 |ddress o|f the pr|
|000011a0| 6f 63 65 64 75 72 65 20 | 28 65 2e 67 2e 0d 6d 79 |ocedure |(e.g..my|
|000011b0| 50 72 6f 63 20 3a 3d 20 | 40 4d 79 50 72 6f 63 65 |Proc := |@MyProce|
|000011c0| 64 75 72 65 3b 29 2c 20 | 6f 72 20 62 79 20 64 65 |dure;), |or by de|
|000011d0| 72 65 66 65 72 65 6e 63 | 69 6e 67 20 61 20 68 61 |referenc|ing a ha|
|000011e0| 6e 64 6c 65 20 74 6f 20 | 61 20 63 6f 64 65 20 72 |ndle to |a code r|
|000011f0| 65 73 6f 75 72 63 65 0d | 28 61 66 74 65 72 20 6c |esource.|(after l|
|00001200| 6f 63 6b 69 6e 67 20 69 | 74 21 29 2c 20 65 2e 67 |ocking i|t!), e.g|
|00001210| 2e 20 73 6f 6d 65 74 68 | 69 6e 67 20 6c 69 6b 65 |. someth|ing like|
|00001220| 3a 0d 0d 6d 79 43 6f 64 | 65 20 3a 3d 20 47 65 74 |:..myCod|e := Get|
|00001230| 52 65 73 6f 75 72 63 65 | 28 27 43 4f 44 45 27 2c |Resource|('CODE',|
|00001240| 20 39 39 39 39 29 3b 0d | 69 66 20 6d 79 43 6f 64 | 9999);.|if myCod|
|00001250| 65 20 3d 20 6e 69 6c 20 | 74 68 65 6e 0d 09 48 61 |e = nil |then..Ha|
|00001260| 6e 64 6c 65 45 72 72 6f | 72 0d 65 6c 73 65 20 62 |ndleErro|r.else b|
|00001270| 65 67 69 6e 0d 09 48 4c | 6f 63 6b 28 6d 79 43 6f |egin..HL|ock(myCo|
|00001280| 64 65 29 3b 0d 09 6d 79 | 50 72 6f 63 20 3a 3d 20 |de);..my|Proc := |
|00001290| 6d 79 43 6f 64 65 5e 3b | 0d 65 6e 64 3b 0d 0d 59 |myCode^;|.end;..Y|
|000012a0| 6f 75 20 63 61 6e 20 63 | 68 61 6e 67 65 20 74 68 |ou can c|hange th|
|000012b0| 65 20 61 62 6f 76 65 20 | 69 6e 6c 69 6e 65 20 74 |e above |inline t|
|000012c0| 6f 20 61 6e 79 20 6f 74 | 68 65 72 20 61 72 67 75 |o any ot|her argu|
|000012d0| 6d 65 6e 74 20 6c 69 73 | 74 20 73 69 6d 70 6c 79 |ment lis|t simply|
|000012e0| 20 62 79 20 61 64 64 69 | 6e 67 0d 6f 72 20 72 65 | by addi|ng.or re|
|000012f0| 70 6c 61 63 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |placing |argument|
|00001300| 73 2e 0d 0d 43 61 6c 6c | 69 6e 67 20 70 72 6f 63 |s...Call|ing proc|
|00001310| 65 64 75 72 65 20 70 6f | 69 6e 74 65 72 73 20 73 |edure po|inters s|
|00001320| 68 6f 75 6c 64 20 72 65 | 61 6c 6c 79 20 62 65 20 |hould re|ally be |
|00001330| 62 75 69 6c 74 2d 69 6e | 20 69 6e 74 6f 20 50 61 |built-in| into Pa|
|00001340| 73 63 61 6c 2c 20 6a 75 | 73 74 20 61 73 20 69 74 |scal, ju|st as it|
|00001350| 0d 69 73 20 69 6e 20 4d | 6f 64 75 6c 61 32 2c 20 |.is in M|odula2, |
|00001360| 73 6f 20 77 65 20 64 69 | 64 6e 27 74 20 68 61 76 |so we di|dn't hav|
|00001370| 65 20 74 6f 20 64 6f 20 | 74 68 69 73 20 6b 69 6e |e to do |this kin|
|00001380| 64 20 6f 66 20 77 6f 72 | 6b 61 72 6f 75 6e 64 73 |d of wor|karounds|
|00001390| 2e 20 4d 6f 73 74 20 6f | 66 20 61 6c 6c 2c 0d 49 |. Most o|f all,.I|
|000013a0| 20 77 61 6e 74 20 74 79 | 70 65 20 63 68 65 63 6b | want ty|pe check|
|000013b0| 69 6e 67 20 6f 6e 20 6d | 79 20 70 72 6f 63 65 64 |ing on m|y proced|
|000013c0| 75 72 65 20 70 6f 69 6e | 74 65 72 73 2e 20 50 65 |ure poin|ters. Pe|
|000013d0| 72 68 61 70 73 20 77 65 | 20 63 6f 75 6c 64 20 63 |rhaps we| could c|
|000013e0| 6f 6e 76 69 6e 63 65 0d | 4d 65 74 72 6f 57 65 72 |onvince.|MetroWer|
|000013f0| 6b 73 20 74 6f 20 61 64 | 64 20 69 74 3f 0d 0d 2d |ks to ad|d it?..-|
|00001400| 2d 0d 2d 20 2d 0d 49 6e | 67 65 6d 61 72 20 52 61 |-.- -.In|gemar Ra|
|00001410| 67 6e 65 6d 61 6c 6d 2c | 20 50 68 44 0d 49 6d 61 |gnemalm,| PhD.Ima|
|00001420| 67 65 20 70 72 6f 63 65 | 73 73 69 6e 67 2c 20 4d |ge proce|ssing, M|
|00001430| 61 63 20 73 68 61 72 65 | 77 61 72 65 20 67 61 6d |ac share|ware gam|
|00001440| 65 73 0d 45 2d 6d 61 69 | 6c 20 61 64 64 72 65 73 |es.E-mai|l addres|
|00001450| 73 3a 20 69 6e 67 65 6d | 61 72 40 69 73 79 2e 6c |s: ingem|ar@isy.l|
|00001460| 69 75 2e 73 65 20 6f 72 | 20 69 6e 67 65 6d 61 72 |iu.se or| ingemar|
|00001470| 40 6c 79 73 61 74 6f 72 | 2e 6c 69 75 2e 73 65 0d |@lysator|.liu.se.|
|00001480| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00001490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 3e 46 |--------|----..>F|
|000014a0| 72 6f 6d 20 69 6b 62 5f | 6d 61 63 64 40 65 63 65 |rom ikb_|macd@ece|
|000014b0| 2e 63 6f 6e 63 6f 72 64 | 69 61 2e 63 61 20 28 4b |.concord|ia.ca (K|
|000014c0| 65 69 74 68 20 4d 61 63 | 44 6f 6e 61 6c 64 29 0d |eith Mac|Donald).|
|000014d0| 53 75 62 6a 65 63 74 3a | 20 41 6e 79 20 73 63 69 |Subject:| Any sci|
|000014e0| 65 6e 63 65 20 74 6f 20 | 73 65 67 6d 65 6e 74 69 |ence to |segmenti|
|000014f0| 6e 67 3f 0d 44 61 74 65 | 3a 20 38 20 4e 6f 76 20 |ng?.Date|: 8 Nov |
|00001500| 31 39 39 34 20 30 34 3a | 32 33 3a 30 34 20 47 4d |1994 04:|23:04 GM|
|00001510| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00001520| 45 43 45 20 2d 20 43 6f | 6e 63 6f 72 64 69 61 20 |ECE - Co|ncordia |
|00001530| 55 6e 69 76 65 72 73 69 | 74 79 0d 0d 0d 53 68 6f |Universi|ty...Sho|
|00001540| 75 6c 64 20 49 20 62 65 | 20 70 72 61 63 74 69 73 |uld I be| practis|
|00001550| 69 6e 67 20 61 6e 79 20 | 73 63 69 65 6e 63 65 20 |ing any |science |
|00001560| 69 6e 20 64 65 74 65 72 | 6d 69 6e 69 6e 67 20 77 |in deter|mining w|
|00001570| 68 69 63 68 20 70 72 6f | 63 65 64 75 72 65 73 20 |hich pro|cedures |
|00001580| 61 72 65 0d 67 72 6f 75 | 70 65 64 20 69 6e 74 6f |are.grou|ped into|
|00001590| 20 74 68 65 20 73 61 6d | 65 20 73 65 67 6d 65 6e | the sam|e segmen|
|000015a0| 74 73 20 77 68 65 6e 20 | 49 20 63 6f 64 65 20 6f |ts when |I code o|
|000015b0| 72 20 69 73 20 74 68 65 | 72 65 20 6c 69 74 74 6c |r is the|re littl|
|000015c0| 65 2f 6e 6f 0d 6f 76 65 | 72 68 65 61 64 20 69 6e |e/no.ove|rhead in|
|000015d0| 20 6a 75 6d 70 69 6e 67 | 20 66 72 6f 6d 20 6f 6e | jumping| from on|
|000015e0| 65 20 73 65 67 6d 65 6e | 74 20 74 6f 20 61 6e 6f |e segmen|t to ano|
|000015f0| 74 68 65 72 3f 0d 0d 43 | 68 65 65 72 73 2c 0d 4b |ther?..C|heers,.K|
|00001600| 65 69 74 68 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |eith.___|________|
|00001610| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001620| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001630| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001640| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001650| 0d 20 4b 65 69 74 68 20 | 4d 61 63 44 6f 6e 61 6c |. Keith |MacDonal|
|00001660| 64 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d | |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001680| 20 20 20 20 20 20 20 20 | 43 6f 6d 70 75 74 65 72 | |Computer|
|00001690| 20 45 6e 67 69 6e 65 65 | 72 69 6e 67 0d 20 69 6b | Enginee|ring. ik|
|000016a0| 62 5f 6d 61 63 64 40 45 | 43 45 2e 63 6f 6e 63 6f |b_macd@E|CE.conco|
|000016b0| 72 64 69 61 2e 63 61 20 | 20 20 20 20 20 20 20 20 |rdia.ca | |
|000016c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016d0| 20 20 20 20 43 6f 6e 63 | 6f 72 64 69 61 20 55 6e | Conc|ordia Un|
|000016e0| 69 76 65 72 73 69 74 79 | 0d 20 68 74 74 70 3a 2f |iversity|. http:/|
|000016f0| 2f 77 77 77 2e 65 63 65 | 2e 63 6f 6e 63 6f 72 64 |/www.ece|.concord|
|00001700| 69 61 2e 63 61 2f 7e 69 | 6b 62 5f 6d 61 63 64 2f |ia.ca/~i|kb_macd/|
|00001710| 61 64 64 72 2e 68 74 6d | 6c 20 20 20 20 20 20 20 |addr.htm|l |
|00001720| 4d 6f 6e 74 72 65 61 6c | 2c 20 51 43 2c 20 43 61 |Montreal|, QC, Ca|
|00001730| 6e 61 64 61 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |nada..++|++++++++|
|00001740| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00001750| 2b 0d 0d 3e 46 72 6f 6d | 20 6e 69 63 6b 2b 40 70 |+..>From| nick+@p|
|00001760| 69 74 74 2e 65 64 75 20 | 28 20 6e 69 63 6b 2e 63 |itt.edu |( nick.c|
|00001770| 20 29 0d 44 61 74 65 3a | 20 54 75 65 2c 20 30 38 | ).Date:| Tue, 08|
|00001780| 20 4e 6f 76 20 31 39 39 | 34 20 30 31 3a 30 35 3a | Nov 199|4 01:05:|
|00001790| 35 34 20 2d 30 35 30 30 | 0d 4f 72 67 61 6e 69 7a |54 -0500|.Organiz|
|000017a0| 61 74 69 6f 6e 3a 20 54 | 68 65 20 50 69 74 74 2c |ation: T|he Pitt,|
|000017b0| 20 43 68 65 6d 69 73 74 | 72 79 0d 0d 49 6e 20 61 | Chemist|ry..In a|
|000017c0| 72 74 69 63 6c 65 20 3c | 33 39 6d 75 66 38 24 39 |rticle <|39muf8$9|
|000017d0| 6d 75 40 6e 65 77 73 66 | 6c 61 73 68 2e 63 6f 6e |mu@newsf|lash.con|
|000017e0| 63 6f 72 64 69 61 2e 63 | 61 3e 2c 20 69 6b 62 5f |cordia.c|a>, ikb_|
|000017f0| 6d 61 63 64 40 65 63 65 | 2e 63 6f 6e 63 6f 72 64 |macd@ece|.concord|
|00001800| 69 61 2e 63 61 0d 28 4b | 65 69 74 68 20 4d 61 63 |ia.ca.(K|eith Mac|
|00001810| 44 6f 6e 61 6c 64 29 20 | 77 72 6f 74 65 3a 0d 0d |Donald) |wrote:..|
|00001820| 3e 20 53 68 6f 75 6c 64 | 20 49 20 62 65 20 70 72 |> Should| I be pr|
|00001830| 61 63 74 69 73 69 6e 67 | 20 61 6e 79 20 73 63 69 |actising| any sci|
|00001840| 65 6e 63 65 20 69 6e 20 | 64 65 74 65 72 6d 69 6e |ence in |determin|
|00001850| 69 6e 67 20 77 68 69 63 | 68 20 70 72 6f 63 65 64 |ing whic|h proced|
|00001860| 75 72 65 73 20 61 72 65 | 0d 3e 20 67 72 6f 75 70 |ures are|.> group|
|00001870| 65 64 20 69 6e 74 6f 20 | 74 68 65 20 73 61 6d 65 |ed into |the same|
|00001880| 20 73 65 67 6d 65 6e 74 | 73 20 77 68 65 6e 20 49 | segment|s when I|
|00001890| 20 63 6f 64 65 20 6f 72 | 20 69 73 20 74 68 65 72 | code or| is ther|
|000018a0| 65 20 6c 69 74 74 6c 65 | 2f 6e 6f 0d 3e 20 6f 76 |e little|/no.> ov|
|000018b0| 65 72 68 65 61 64 20 69 | 6e 20 6a 75 6d 70 69 6e |erhead i|n jumpin|
|000018c0| 67 20 66 72 6f 6d 20 6f | 6e 65 20 73 65 67 6d 65 |g from o|ne segme|
|000018d0| 6e 74 20 74 6f 20 61 6e | 6f 74 68 65 72 3f 0d 0d |nt to an|other?..|
|000018e0| 20 20 20 4d 79 20 75 6e | 64 65 72 73 74 61 6e 64 | My un|derstand|
|000018f0| 69 6e 67 20 69 73 20 61 | 20 73 65 67 6d 65 6e 74 |ing is a| segment|
|00001900| 20 69 73 20 73 77 61 70 | 70 65 64 20 69 6e 74 6f | is swap|ped into|
|00001910| 20 6d 65 6d 6f 72 79 20 | 61 73 20 61 20 77 68 6f | memory |as a who|
|00001920| 6c 65 2e 0d 20 20 20 20 | 20 53 6f 2c 20 28 61 6e |le.. | So, (an|
|00001930| 64 20 49 27 6d 20 72 65 | 61 73 6f 6e 69 6e 67 20 |d I'm re|asoning |
|00001940| 68 65 72 65 2c 20 6e 6f | 74 20 73 70 65 61 6b 69 |here, no|t speaki|
|00001950| 6e 67 20 77 69 74 68 20 | 61 6e 79 20 61 75 74 68 |ng with |any auth|
|00001960| 6f 72 69 74 79 29 0d 20 | 20 20 20 20 69 74 20 77 |ority). | it w|
|00001970| 6f 75 6c 64 20 6d 61 6b | 65 20 73 65 6e 73 65 20 |ould mak|e sense |
|00001980| 74 6f 20 6d 65 20 74 6f | 20 67 72 6f 75 70 20 66 |to me to| group f|
|00001990| 75 6e 63 74 69 6f 6e 73 | 20 74 68 61 74 20 63 61 |unctions| that ca|
|000019a0| 6c 6c 20 65 61 63 68 0d | 20 20 20 20 20 6f 74 68 |ll each.| oth|
|000019b0| 65 72 20 74 6f 67 65 74 | 68 65 72 20 69 6e 74 6f |er toget|her into|
|000019c0| 20 74 68 65 20 73 61 6d | 65 20 73 65 67 6d 65 6e | the sam|e segmen|
|000019d0| 74 2e 20 20 54 72 79 20 | 61 6e 64 20 6d 61 6b 65 |t. Try |and make|
|000019e0| 20 65 61 63 68 20 73 65 | 67 6d 65 6e 74 0d 20 20 | each se|gment. |
|000019f0| 20 20 20 61 73 20 22 73 | 65 6c 66 20 63 6f 6e 74 | as "s|elf cont|
|00001a00| 61 69 6e 65 64 22 20 61 | 73 20 70 6f 73 73 69 62 |ained" a|s possib|
|00001a10| 6c 65 20 28 72 65 61 6c | 69 7a 69 6e 67 20 74 68 |le (real|izing th|
|00001a20| 61 74 20 6e 6f 20 73 65 | 67 6d 65 6e 74 0d 20 20 |at no se|gment. |
|00001a30| 20 20 20 63 6f 75 6c 64 | 20 62 65 20 65 6e 74 69 | could| be enti|
|00001a40| 72 65 6c 79 20 73 65 6c | 66 20 63 6f 6e 74 61 69 |rely sel|f contai|
|00001a50| 6e 65 64 20 2d 20 6f 72 | 20 69 74 20 77 6f 75 6c |ned - or| it woul|
|00001a60| 64 20 62 65 20 75 6e 6e | 65 63 65 73 73 61 72 79 |d be unn|ecessary|
|00001a70| 0d 20 20 20 20 20 74 6f | 20 27 6d 61 69 6e 27 29 |. to| 'main')|
|00001a80| 2e 20 20 54 68 69 73 20 | 77 6f 75 6c 64 20 6d 69 |. This |would mi|
|00001a90| 6e 69 6d 69 7a 65 20 74 | 68 65 20 65 66 66 69 63 |nimize t|he effic|
|00001aa0| 69 65 6e 63 79 20 6c 6f | 73 73 20 6f 66 20 73 77 |iency lo|ss of sw|
|00001ab0| 61 70 70 69 6e 67 0d 20 | 20 20 20 20 69 6e 20 73 |apping. | in s|
|00001ac0| 65 67 6d 65 6e 74 73 2e | 20 20 27 43 6f 75 72 73 |egments.| 'Cours|
|00001ad0| 65 20 77 69 74 68 20 74 | 68 65 20 6d 6f 64 65 72 |e with t|he moder|
|00001ae0| 6e 20 6d 65 6d 6f 72 79 | 20 73 74 72 75 63 74 75 |n memory| structu|
|00001af0| 72 65 20 6f 66 20 74 68 | 65 0d 20 20 20 20 20 4d |re of th|e. M|
|00001b00| 61 63 2c 20 49 27 6d 20 | 6e 6f 74 20 73 75 72 65 |ac, I'm |not sure|
|00001b10| 20 74 68 69 73 20 22 73 | 77 61 70 70 69 6e 67 22 | this "s|wapping"|
|00001b20| 20 6f 63 75 72 72 73 20 | 61 6e 79 20 6c 6f 6e 67 | ocurrs |any long|
|00001b30| 65 72 2e 2e 2e 20 64 75 | 6e 6e 6f 2e 0d 0d 0d 20 |er... du|nno.... |
|00001b40| 49 6e 74 65 72 6e 65 74 | 3a 20 6e 69 63 6b 2b 40 |Internet|: nick+@|
|00001b50| 70 69 74 74 2e 65 64 75 | 20 20 20 20 20 20 20 20 |pitt.edu| |
|00001b60| 20 20 20 20 5f 2f 20 20 | 20 5f 2f 20 20 5f 2f 20 | _/ | _/ _/ |
|00001b70| 20 5f 2f 5f 2f 5f 2f 20 | 20 20 5f 2f 20 20 20 5f | _/_/_/ | _/ _|
|00001b80| 2f 20 20 0d 20 20 20 65 | 57 6f 72 6c 64 3a 20 6e |/ . e|World: n|
|00001b90| 69 63 6b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ick | |
|00001ba0| 20 20 20 20 20 20 20 20 | 5f 2f 5f 2f 20 5f 2f 20 | |_/_/ _/ |
|00001bb0| 20 5f 2f 20 20 5f 2f 20 | 20 20 5f 2f 20 20 5f 2f | _/ _/ | _/ _/|
|00001bc0| 5f 2f 5f 2f 20 0d 20 20 | 20 20 20 20 43 49 53 3a |_/_/ . | CIS:|
|00001bd0| 20 37 31 32 33 32 2c 37 | 36 36 20 20 20 20 20 20 | 71232,7|66 |
|00001be0| 20 20 20 20 20 20 20 20 | 20 5f 2f 20 5f 2f 5f 2f | | _/ _/_/|
|00001bf0| 20 20 5f 2f 20 20 5f 2f | 20 20 20 20 20 20 20 5f | _/ _/| _|
|00001c00| 2f 20 5f 2f 20 20 20 20 | 0d 20 20 20 20 20 68 74 |/ _/ |. ht|
|00001c10| 74 70 3a 2f 2f 77 77 77 | 2e 70 69 74 74 2e 65 64 |tp://www|.pitt.ed|
|00001c20| 75 2f 7e 6e 69 63 6b 2f | 20 20 20 5f 2f 20 20 20 |u/~nick/| _/ |
|00001c30| 5f 2f 20 20 5f 2f 20 20 | 20 5f 2f 5f 2f 5f 2f 20 |_/ _/ | _/_/_/ |
|00001c40| 20 5f 2f 20 20 20 5f 2f | 20 20 20 20 20 0d 20 20 | _/ _/| . |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c60| 20 20 0d 0d 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b | ..++++|++++++++|
|00001c70| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 0d |++++++++|+++++++.|
|00001c80| 0d 3e 46 72 6f 6d 20 72 | 61 6d 65 72 40 6e 72 63 |.>From r|amer@nrc|
|00001c90| 2e 75 61 62 2e 65 64 75 | 20 28 4b 65 76 69 6e 20 |.uab.edu| (Kevin |
|00001ca0| 57 2e 20 52 61 6d 65 72 | 29 0d 44 61 74 65 3a 20 |W. Ramer|).Date: |
|00001cb0| 57 65 64 2c 20 30 39 20 | 4e 6f 76 20 31 39 39 34 |Wed, 09 |Nov 1994|
|00001cc0| 20 30 39 3a 30 37 3a 34 | 34 20 2d 30 36 30 30 0d | 09:07:4|4 -0600.|
|00001cd0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 55 6e |Organiza|tion: Un|
|00001ce0| 69 76 65 72 73 69 74 79 | 20 6f 66 20 41 6c 61 62 |iversity| of Alab|
|00001cf0| 61 6d 61 20 61 74 20 42 | 69 72 6d 69 6e 67 68 61 |ama at B|irmingha|
|00001d00| 6d 0d 0d 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 6e |m..In ar|ticle <n|
|00001d10| 69 63 6b 2b 2d 30 38 31 | 31 39 34 30 31 30 35 35 |ick+-081|19401055|
|00001d20| 34 30 30 30 31 40 65 68 | 64 75 70 2d 66 2d 31 2e |40001@eh|dup-f-1.|
|00001d30| 73 6c 69 70 2e 6e 65 74 | 2e 70 69 74 74 2e 65 64 |slip.net|.pitt.ed|
|00001d40| 75 3e 2c 0d 6e 69 63 6b | 2b 40 70 69 74 74 2e 65 |u>,.nick|+@pitt.e|
|00001d50| 64 75 20 28 20 6e 69 63 | 6b 2e 63 20 29 20 77 72 |du ( nic|k.c ) wr|
|00001d60| 6f 74 65 3a 0d 3e 20 0d | 3e 20 3e 20 53 68 6f 75 |ote:.> .|> > Shou|
|00001d70| 6c 64 20 49 20 62 65 20 | 70 72 61 63 74 69 73 69 |ld I be |practisi|
|00001d80| 6e 67 20 61 6e 79 20 73 | 63 69 65 6e 63 65 20 69 |ng any s|cience i|
|00001d90| 6e 20 64 65 74 65 72 6d | 69 6e 69 6e 67 20 77 68 |n determ|ining wh|
|00001da0| 69 63 68 20 70 72 6f 63 | 65 64 75 72 65 73 20 61 |ich proc|edures a|
|00001db0| 72 65 0d 3e 20 3e 20 67 | 72 6f 75 70 65 64 20 69 |re.> > g|rouped i|
|00001dc0| 6e 74 6f 20 74 68 65 20 | 73 61 6d 65 20 73 65 67 |nto the |same seg|
|00001dd0| 6d 65 6e 74 73 20 3f 0d | 0d 3e 20 20 20 20 4d 79 |ments ?.|.> My|
|00001de0| 20 75 6e 64 65 72 73 74 | 61 6e 64 69 6e 67 20 69 | underst|anding i|
|00001df0| 73 20 61 20 73 65 67 6d | 65 6e 74 20 69 73 20 73 |s a segm|ent is s|
|00001e00| 77 61 70 70 65 64 20 69 | 6e 74 6f 20 6d 65 6d 6f |wapped i|nto memo|
|00001e10| 72 79 20 61 73 20 61 20 | 77 68 6f 6c 65 2e 0d 3e |ry as a |whole..>|
|00001e20| 20 20 20 20 20 20 53 6f | 2c 20 28 61 6e 64 20 49 | So|, (and I|
|00001e30| 27 6d 20 72 65 61 73 6f | 6e 69 6e 67 20 68 65 72 |'m reaso|ning her|
|00001e40| 65 2c 20 6e 6f 74 20 73 | 70 65 61 6b 69 6e 67 20 |e, not s|peaking |
|00001e50| 77 69 74 68 20 61 6e 79 | 20 61 75 74 68 6f 72 69 |with any| authori|
|00001e60| 74 79 29 0d 3e 20 20 20 | 20 20 20 69 74 20 77 6f |ty).> | it wo|
|00001e70| 75 6c 64 20 6d 61 6b 65 | 20 73 65 6e 73 65 20 74 |uld make| sense t|
|00001e80| 6f 20 6d 65 20 74 6f 20 | 67 72 6f 75 70 20 66 75 |o me to |group fu|
|00001e90| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 63 61 6c |nctions |that cal|
|00001ea0| 6c 20 65 61 63 68 0d 3e | 20 20 20 20 20 20 6f 74 |l each.>| ot|
|00001eb0| 68 65 72 20 74 6f 67 65 | 74 68 65 72 20 69 6e 74 |her toge|ther int|
|00001ec0| 6f 20 74 68 65 20 73 61 | 6d 65 20 73 65 67 6d 65 |o the sa|me segme|
|00001ed0| 6e 74 2e 20 20 54 72 79 | 20 61 6e 64 20 6d 61 6b |nt. Try| and mak|
|00001ee0| 65 20 65 61 63 68 20 73 | 65 67 6d 65 6e 74 0d 3e |e each s|egment.>|
|00001ef0| 20 20 20 20 20 20 61 73 | 20 22 73 65 6c 66 20 63 | as| "self c|
|00001f00| 6f 6e 74 61 69 6e 65 64 | 22 20 61 73 20 70 6f 73 |ontained|" as pos|
|00001f10| 73 69 62 6c 65 20 28 72 | 65 61 6c 69 7a 69 6e 67 |sible (r|ealizing|
|00001f20| 20 74 68 61 74 20 6e 6f | 20 73 65 67 6d 65 6e 74 | that no| segment|
|00001f30| 0d 3e 20 20 20 20 20 20 | 63 6f 75 6c 64 20 62 65 |.> |could be|
|00001f40| 20 65 6e 74 69 72 65 6c | 79 20 73 65 6c 66 20 63 | entirel|y self c|
|00001f50| 6f 6e 74 61 69 6e 65 64 | 20 2d 20 6f 72 20 69 74 |ontained| - or it|
|00001f60| 20 77 6f 75 6c 64 20 62 | 65 20 75 6e 6e 65 63 65 | would b|e unnece|
|00001f70| 73 73 61 72 79 0d 3e 20 | 20 20 20 20 20 74 6f 20 |ssary.> | to |
|00001f80| 27 6d 61 69 6e 27 29 2e | 20 20 54 68 69 73 20 77 |'main').| This w|
|00001f90| 6f 75 6c 64 20 6d 69 6e | 69 6d 69 7a 65 20 74 68 |ould min|imize th|
|00001fa0| 65 20 65 66 66 69 63 69 | 65 6e 63 79 20 6c 6f 73 |e effici|ency los|
|00001fb0| 73 20 6f 66 20 73 77 61 | 70 70 69 6e 67 0d 3e 20 |s of swa|pping.> |
|00001fc0| 20 20 20 20 20 69 6e 20 | 73 65 67 6d 65 6e 74 73 | in |segments|
|00001fd0| 2e 20 20 27 43 6f 75 72 | 73 65 20 77 69 74 68 20 |. 'Cour|se with |
|00001fe0| 74 68 65 20 6d 6f 64 65 | 72 6e 20 6d 65 6d 6f 72 |the mode|rn memor|
|00001ff0| 79 20 73 74 72 75 63 74 | 75 72 65 20 6f 66 20 74 |y struct|ure of t|
|00002000| 68 65 0d 3e 20 20 20 20 | 20 20 4d 61 63 2c 20 49 |he.> | Mac, I|
|00002010| 27 6d 20 6e 6f 74 20 73 | 75 72 65 20 74 68 69 73 |'m not s|ure this|
|00002020| 20 22 73 77 61 70 70 69 | 6e 67 22 20 6f 63 75 72 | "swappi|ng" ocur|
|00002030| 72 73 20 61 6e 79 20 6c | 6f 6e 67 65 72 2e 2e 2e |rs any l|onger...|
|00002040| 20 64 75 6e 6e 6f 2e 0d | 0d 41 20 63 6f 75 70 6c | dunno..|.A coupl|
|00002050| 65 20 6f 66 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |e of add|itional |
|00002060| 70 6f 69 6e 74 73 20 74 | 6f 20 62 65 20 6d 61 64 |points t|o be mad|
|00002070| 65 20 61 72 65 20 31 29 | 20 69 66 20 79 6f 75 20 |e are 1)| if you |
|00002080| 77 69 73 68 20 74 6f 20 | 68 61 76 65 20 0d 73 65 |wish to |have .se|
|00002090| 67 6d 65 6e 74 73 20 20 | 75 6e 6c 6f 61 64 65 64 |gments |unloaded|
|000020a0| 2c 20 64 6f 20 73 6f 20 | 66 72 6f 6d 20 74 68 65 |, do so |from the|
|000020b0| 20 6d 61 69 6e 20 73 65 | 67 6d 65 6e 74 2e 20 54 | main se|gment. T|
|000020c0| 79 70 69 63 61 6c 6c 79 | 2c 20 63 61 6c 6c 69 6e |ypically|, callin|
|000020d0| 67 20 0d 55 6e 6c 6f 61 | 64 53 65 67 20 65 61 63 |g .Unloa|dSeg eac|
|000020e0| 68 20 74 69 6d 65 20 74 | 68 72 6f 75 67 68 20 79 |h time t|hrough y|
|000020f0| 6f 75 72 20 65 76 65 6e | 74 20 6c 6f 6f 70 2e 20 |our even|t loop. |
|00002100| 20 32 29 20 49 66 20 79 | 6f 75 20 64 6f 6e 27 74 | 2) If y|ou don't|
|00002110| 20 73 74 69 63 6b 0d 74 | 6f 20 31 20 62 65 20 73 | stick.t|o 1 be s|
|00002120| 75 72 65 20 74 6f 20 6e | 65 76 65 72 20 75 6e 6c |ure to n|ever unl|
|00002130| 6f 61 64 20 73 65 67 6d | 65 6e 74 73 20 65 61 72 |oad segm|ents ear|
|00002140| 6c 69 65 72 20 69 6e 20 | 74 68 65 20 63 61 6c 6c |lier in |the call|
|00002150| 69 6e 67 20 63 68 61 69 | 6e 20 21 0d 46 6f 72 20 |ing chai|n !.For |
|00002160| 65 78 61 6d 70 6c 65 2c | 20 6d 61 69 6e 20 63 61 |example,| main ca|
|00002170| 6c 6c 73 20 41 20 77 68 | 69 63 68 20 63 61 6c 6c |lls A wh|ich call|
|00002180| 73 20 42 20 28 65 61 63 | 68 20 69 6e 20 64 69 66 |s B (eac|h in dif|
|00002190| 66 65 72 65 6e 74 20 73 | 65 67 6d 65 6e 74 73 29 |ferent s|egments)|
|000021a0| 0d 5f 64 6f 20 6e 6f 74 | 5f 20 55 6e 6c 6f 61 64 |._do not|_ Unload|
|000021b0| 53 65 67 28 41 29 20 77 | 68 69 6c 65 20 69 6e 20 |Seg(A) w|hile in |
|000021c0| 42 2e 20 20 4d 61 6b 65 | 73 20 66 6f 72 20 6e 61 |B. Make|s for na|
|000021d0| 73 74 79 20 63 72 61 73 | 68 65 73 2e 0d 0d 2d 2d |sty cras|hes...--|
|000021e0| 20 0d 4b 65 76 69 6e 20 | 57 2e 20 52 61 6d 65 72 | .Kevin |W. Ramer|
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002200| 20 20 20 72 61 6d 65 72 | 40 6e 72 63 2e 75 61 62 | ramer|@nrc.uab|
|00002210| 2e 65 64 75 0d 50 72 6f | 67 72 61 6d 6d 65 72 20 |.edu.Pro|grammer |
|00002220| 41 6e 61 6c 79 73 74 0d | 4e 65 75 72 6f 62 69 6f |Analyst.|Neurobio|
|00002230| 6c 6f 67 79 20 52 65 73 | 65 61 72 63 68 20 43 65 |logy Res|earch Ce|
|00002240| 6e 74 65 72 0d 55 6e 69 | 76 65 72 73 69 74 79 20 |nter.Uni|versity |
|00002250| 6f 66 20 41 6c 61 62 61 | 6d 61 20 61 74 20 42 69 |of Alaba|ma at Bi|
|00002260| 72 6d 69 6e 67 68 61 6d | 0d 0d 2b 2b 2b 2b 2b 2b |rmingham|..++++++|
|00002270| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002280| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 70 67 6f |+++++..>|From pgo|
|00002290| 6e 74 69 65 72 40 6e 6f | 76 65 6c 6c 2e 63 6f 6d |ntier@no|vell.com|
|000022a0| 20 28 50 65 74 65 20 47 | 6f 6e 74 69 65 72 29 0d | (Pete G|ontier).|
|000022b0| 44 61 74 65 3a 20 57 65 | 64 2c 20 30 39 20 4e 6f |Date: We|d, 09 No|
|000022c0| 76 20 31 39 39 34 20 30 | 39 3a 34 32 3a 34 35 20 |v 1994 0|9:42:45 |
|000022d0| 2d 30 38 30 30 0d 4f 72 | 67 61 6e 69 7a 61 74 69 |-0800.Or|ganizati|
|000022e0| 6f 6e 3a 20 4e 6f 76 65 | 6c 6c 2c 20 49 6e 63 2e |on: Nove|ll, Inc.|
|000022f0| 2c 20 57 61 6c 6e 75 74 | 20 43 72 65 65 6b 2f 4d |, Walnut| Creek/M|
|00002300| 61 63 69 6e 74 6f 73 68 | 20 53 69 74 65 0d 0d 49 |acintosh| Site..I|
|00002310| 6e 20 61 72 74 69 63 6c | 65 20 3c 6e 69 63 6b 2b |n articl|e <nick+|
|00002320| 2d 30 38 31 31 39 34 30 | 31 30 35 35 34 30 30 30 |-0811940|10554000|
|00002330| 31 40 65 68 64 75 70 2d | 66 2d 31 2e 73 6c 69 70 |1@ehdup-|f-1.slip|
|00002340| 2e 6e 65 74 2e 70 69 74 | 74 2e 65 64 75 3e 2c 0d |.net.pit|t.edu>,.|
|00002350| 6e 69 63 6b 2b 40 70 69 | 74 74 2e 65 64 75 20 28 |nick+@pi|tt.edu (|
|00002360| 20 6e 69 63 6b 2e 63 20 | 29 20 77 72 6f 74 65 3a | nick.c |) wrote:|
|00002370| 0d 0d 3e 20 27 43 6f 75 | 72 73 65 20 77 69 74 68 |..> 'Cou|rse with|
|00002380| 20 74 68 65 20 6d 6f 64 | 65 72 6e 20 6d 65 6d 6f | the mod|ern memo|
|00002390| 72 79 20 73 74 72 75 63 | 74 75 72 65 20 6f 66 20 |ry struc|ture of |
|000023a0| 74 68 65 0d 3e 20 4d 61 | 63 2c 20 49 27 6d 20 6e |the.> Ma|c, I'm n|
|000023b0| 6f 74 20 73 75 72 65 20 | 74 68 69 73 20 22 73 77 |ot sure |this "sw|
|000023c0| 61 70 70 69 6e 67 22 20 | 6f 63 75 72 72 73 20 61 |apping" |ocurrs a|
|000023d0| 6e 79 20 6c 6f 6e 67 65 | 72 2e 2e 2e 20 64 75 6e |ny longe|r... dun|
|000023e0| 6e 6f 2e 0d 0d 59 65 73 | 2c 20 69 74 20 64 6f 65 |no...Yes|, it doe|
|000023f0| 73 2e 20 54 68 65 20 4d | 6f 64 65 72 6e 20 4d 65 |s. The M|odern Me|
|00002400| 6d 6f 72 79 20 4d 61 6e | 61 67 65 72 20 6a 75 73 |mory Man|ager jus|
|00002410| 74 20 68 61 73 20 62 65 | 74 74 65 72 20 28 72 65 |t has be|tter (re|
|00002420| 61 64 3a 20 66 61 73 74 | 65 72 29 0d 68 65 61 70 |ad: fast|er).heap|
|00002430| 20 6d 61 6e 61 67 65 6d | 65 6e 74 2e 20 49 74 20 | managem|ent. It |
|00002440| 64 6f 65 73 6e 27 74 20 | 74 72 79 20 74 6f 20 74 |doesn't |try to t|
|00002450| 65 6c 6c 20 61 6e 79 6f | 6e 65 20 77 68 61 74 20 |ell anyo|ne what |
|00002460| 74 6f 20 64 6f 20 77 69 | 74 68 20 69 6e 64 69 76 |to do wi|th indiv|
|00002470| 69 64 75 61 6c 0d 68 65 | 61 70 20 62 6c 6f 63 6b |idual.he|ap block|
|00002480| 73 2c 20 77 68 69 63 68 | 20 6f 66 20 63 6f 75 72 |s, which| of cour|
|00002490| 73 65 20 61 72 65 20 77 | 68 61 74 20 63 6f 6e 74 |se are w|hat cont|
|000024a0| 61 69 6e 20 65 61 63 68 | 20 63 6f 64 65 20 73 65 |ain each| code se|
|000024b0| 67 6d 65 6e 74 2e 20 59 | 6f 75 20 6d 61 79 0d 62 |gment. Y|ou may.b|
|000024c0| 65 20 74 68 69 6e 6b 69 | 6e 67 20 6f 66 20 74 68 |e thinki|ng of th|
|000024d0| 65 20 50 6f 77 65 72 20 | 4d 61 63 20 63 6f 64 65 |e Power |Mac code|
|000024e0| 20 6d 6f 64 65 6c 2c 20 | 77 68 69 63 68 20 68 61 | model, |which ha|
|000024f0| 73 20 61 20 6e 65 77 20 | 70 61 67 69 6e 67 20 73 |s a new |paging s|
|00002500| 63 68 65 6d 65 20 66 6f | 72 0d 63 6f 64 65 20 66 |cheme fo|r.code f|
|00002510| 72 61 67 6d 65 6e 74 73 | 20 69 6e 20 74 68 65 20 |ragments| in the |
|00002520| 64 61 74 61 20 66 6f 72 | 6b 2c 20 61 73 73 75 6d |data for|k, assum|
|00002530| 69 6e 67 20 56 4d 20 69 | 73 20 74 75 72 6e 65 64 |ing VM i|s turned|
|00002540| 20 6f 6e 2e 0d 0d 49 20 | 6d 69 67 68 74 20 61 73 | on...I |might as|
|00002550| 20 77 65 6c 6c 20 61 64 | 64 2c 20 6e 6f 77 20 74 | well ad|d, now t|
|00002560| 68 61 74 20 49 20 68 61 | 76 65 20 66 6f 6c 6c 6f |hat I ha|ve follo|
|00002570| 77 65 64 20 75 70 2c 20 | 74 68 61 74 20 61 20 73 |wed up, |that a s|
|00002580| 75 63 63 65 73 73 66 75 | 6c 0d 73 65 67 6d 65 6e |uccessfu|l.segmen|
|00002590| 74 61 74 69 6f 6e 20 73 | 74 72 61 74 65 67 79 20 |tation s|trategy |
|000025a0| 68 61 73 20 74 6f 20 62 | 65 20 70 6c 61 6e 6e 65 |has to b|e planne|
|000025b0| 64 20 61 68 65 61 64 20 | 6f 66 20 74 69 6d 65 2e |d ahead |of time.|
|000025c0| 20 54 68 65 20 67 6f 6f | 64 20 6e 65 77 73 20 69 | The goo|d news i|
|000025d0| 73 0d 74 68 61 74 20 74 | 68 65 20 73 74 72 61 74 |s.that t|he strat|
|000025e0| 65 67 79 20 68 61 73 20 | 61 20 6c 6f 74 20 69 6e |egy has |a lot in|
|000025f0| 20 63 6f 6d 6d 6f 6e 20 | 77 69 74 68 20 67 6f 6f | common |with goo|
|00002600| 64 20 65 6e 67 69 6e 65 | 65 72 69 6e 67 20 70 72 |d engine|ering pr|
|00002610| 61 63 74 69 63 65 0d 72 | 65 67 61 72 64 6c 65 73 |actice.r|egardles|
|00002620| 73 20 6f 66 20 73 65 67 | 6d 65 6e 74 61 74 69 6f |s of seg|mentatio|
|00002630| 6e 2c 20 73 6f 20 69 66 | 20 79 6f 75 20 61 72 65 |n, so if| you are|
|00002640| 20 61 20 67 6f 6f 64 20 | 65 6e 67 69 6e 65 65 72 | a good |engineer|
|00002650| 69 6e 67 20 63 69 74 69 | 7a 65 6e 2c 20 79 6f 75 |ing citi|zen, you|
|00002660| 0d 70 72 6f 62 61 62 6c | 79 20 2a 61 63 63 69 64 |.probabl|y *accid|
|00002670| 65 6e 74 61 6c 6c 79 2a | 20 70 6c 61 6e 6e 65 64 |entally*| planned|
|00002680| 20 79 6f 75 72 20 73 65 | 67 6d 65 6e 74 61 74 69 | your se|gmentati|
|00002690| 6f 6e 20 73 74 72 61 74 | 65 67 79 20 61 68 65 61 |on strat|egy ahea|
|000026a0| 64 20 6f 66 20 74 69 6d | 65 0d 3a 2d 29 2e 20 4d |d of tim|e.:-). M|
|000026b0| 6f 72 65 20 73 70 65 63 | 69 66 69 63 61 6c 6c 79 |ore spec|ifically|
|000026c0| 2c 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 6e 61 |, if you| have na|
|000026d0| 72 72 6f 77 20 65 6e 74 | 72 79 20 70 6f 69 6e 74 |rrow ent|ry point|
|000026e0| 73 20 69 6e 74 6f 20 79 | 6f 75 72 0d 66 75 6e 63 |s into y|our.func|
|000026f0| 74 69 6f 6e 61 6c 20 73 | 75 62 2d 73 79 73 74 65 |tional s|ub-syste|
|00002700| 6d 73 2c 20 79 6f 75 20 | 63 61 6e 20 73 69 6d 70 |ms, you |can simp|
|00002710| 6c 79 20 70 75 74 20 65 | 61 63 68 20 73 75 62 2d |ly put e|ach sub-|
|00002720| 73 79 73 74 65 6d 20 69 | 6e 74 6f 20 69 74 73 20 |system i|nto its |
|00002730| 6f 77 6e 0d 73 65 67 6d | 65 6e 74 20 61 6e 64 20 |own.segm|ent and |
|00002740| 75 6e 6c 6f 61 64 20 69 | 74 20 77 68 65 6e 20 69 |unload i|t when i|
|00002750| 74 27 73 20 6e 6f 74 20 | 6e 65 65 64 65 64 2e 0d |t's not |needed..|
|00002760| 0d 2d 2d 20 0d 20 54 68 | 65 20 76 69 65 77 73 20 |.-- . Th|e views |
|00002770| 65 78 70 72 65 73 73 65 | 64 20 68 65 72 65 20 64 |expresse|d here d|
|00002780| 6f 20 6e 6f 74 20 6e 65 | 63 65 73 73 61 72 69 6c |o not ne|cessaril|
|00002790| 79 20 72 65 66 6c 65 63 | 74 20 74 68 6f 73 65 20 |y reflec|t those |
|000027a0| 6f 66 20 6d 79 20 65 6d | 70 6c 6f 79 65 72 2e 0d |of my em|ployer..|
|000027b0| 0d 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |.+++++++|++++++++|
|000027c0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 0d 0d 3e 46 |++++++++|++++..>F|
|000027d0| 72 6f 6d 20 52 69 63 6b | 5f 48 6f 6c 7a 67 72 61 |rom Rick|_Holzgra|
|000027e0| 66 65 40 74 61 6c 69 67 | 65 6e 74 2e 63 6f 6d 20 |fe@talig|ent.com |
|000027f0| 28 52 69 63 6b 20 48 6f | 6c 7a 67 72 61 66 65 29 |(Rick Ho|lzgrafe)|
|00002800| 0d 44 61 74 65 3a 20 54 | 75 65 2c 20 38 20 4e 6f |.Date: T|ue, 8 No|
|00002810| 76 20 31 39 39 34 20 31 | 38 3a 34 31 3a 33 38 20 |v 1994 1|8:41:38 |
|00002820| 47 4d 54 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|00002830| 3a 20 53 65 6d 69 63 6f | 6c 6f 6e 20 53 6f 66 74 |: Semico|lon Soft|
|00002840| 77 61 72 65 0d 0d 49 6e | 20 61 72 74 69 63 6c 65 |ware..In| article|
|00002850| 20 3c 33 39 6d 75 66 38 | 24 39 6d 75 40 6e 65 77 | <39muf8|$9mu@new|
|00002860| 73 66 6c 61 73 68 2e 63 | 6f 6e 63 6f 72 64 69 61 |sflash.c|oncordia|
|00002870| 2e 63 61 3e 2c 20 69 6b | 62 5f 6d 61 63 64 40 65 |.ca>, ik|b_macd@e|
|00002880| 63 65 2e 63 6f 6e 63 6f | 72 64 69 61 2e 63 61 0d |ce.conco|rdia.ca.|
|00002890| 28 4b 65 69 74 68 20 4d | 61 63 44 6f 6e 61 6c 64 |(Keith M|acDonald|
|000028a0| 29 20 77 72 6f 74 65 3a | 0d 0d 3e 20 53 68 6f 75 |) wrote:|..> Shou|
|000028b0| 6c 64 20 49 20 62 65 20 | 70 72 61 63 74 69 73 69 |ld I be |practisi|
|000028c0| 6e 67 20 61 6e 79 20 73 | 63 69 65 6e 63 65 20 69 |ng any s|cience i|
|000028d0| 6e 20 64 65 74 65 72 6d | 69 6e 69 6e 67 20 77 68 |n determ|ining wh|
|000028e0| 69 63 68 20 70 72 6f 63 | 65 64 75 72 65 73 20 61 |ich proc|edures a|
|000028f0| 72 65 0d 3e 20 67 72 6f | 75 70 65 64 20 69 6e 74 |re.> gro|uped int|
|00002900| 6f 20 74 68 65 20 73 61 | 6d 65 20 73 65 67 6d 65 |o the sa|me segme|
|00002910| 6e 74 73 20 77 68 65 6e | 20 49 20 63 6f 64 65 20 |nts when| I code |
|00002920| 6f 72 20 69 73 20 74 68 | 65 72 65 20 6c 69 74 74 |or is th|ere litt|
|00002930| 6c 65 2f 6e 6f 0d 3e 20 | 6f 76 65 72 68 65 61 64 |le/no.> |overhead|
|00002940| 20 69 6e 20 6a 75 6d 70 | 69 6e 67 20 66 72 6f 6d | in jump|ing from|
|00002950| 20 6f 6e 65 20 73 65 67 | 6d 65 6e 74 20 74 6f 20 | one seg|ment to |
|00002960| 61 6e 6f 74 68 65 72 3f | 0d 0d 53 65 67 6d 65 6e |another?|..Segmen|
|00002970| 74 73 20 65 78 69 73 74 | 20 6d 61 69 6e 6c 79 20 |ts exist| mainly |
|00002980| 66 6f 72 20 6d 65 6d 6f | 72 79 20 6d 61 6e 61 67 |for memo|ry manag|
|00002990| 65 6d 65 6e 74 20 70 75 | 72 70 6f 73 65 73 3a 20 |ement pu|rposes: |
|000029a0| 74 68 65 79 20 61 6c 6c | 6f 77 20 79 6f 75 20 74 |they all|ow you t|
|000029b0| 6f 0d 67 72 6f 75 70 20 | 72 65 6c 65 76 61 6e 74 |o.group |relevant|
|000029c0| 20 70 6f 72 74 69 6f 6e | 73 20 6f 66 20 79 6f 75 | portion|s of you|
|000029d0| 72 20 63 6f 64 65 20 69 | 6e 74 6f 20 63 68 75 6e |r code i|nto chun|
|000029e0| 6b 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |ks which| do not |
|000029f0| 68 61 76 65 20 74 6f 20 | 62 65 0d 6b 65 70 74 20 |have to |be.kept |
|00002a00| 69 6e 20 6d 65 6d 6f 72 | 79 20 77 68 65 6e 20 74 |in memor|y when t|
|00002a10| 68 65 79 20 61 72 65 20 | 6e 6f 74 20 69 6e 20 75 |hey are |not in u|
|00002a20| 73 65 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |se. For |example,|
|00002a30| 20 79 6f 75 72 20 69 6e | 69 74 69 61 6c 69 7a 61 | your in|itializa|
|00002a40| 74 69 6f 6e 0d 63 6f 64 | 65 20 72 75 6e 73 20 6f |tion.cod|e runs o|
|00002a50| 6e 6c 79 20 6f 6e 63 65 | 2c 20 77 68 65 6e 20 74 |nly once|, when t|
|00002a60| 68 65 20 61 70 70 20 73 | 74 61 72 74 73 20 75 70 |he app s|tarts up|
|00002a70| 3a 20 70 75 74 20 69 74 | 20 61 6c 6c 20 69 6e 74 |: put it| all int|
|00002a80| 6f 20 61 20 73 65 67 6d | 65 6e 74 2c 0d 61 6e 64 |o a segm|ent,.and|
|00002a90| 20 75 6e 6c 6f 61 64 20 | 69 74 20 77 68 65 6e 20 | unload |it when |
|00002aa0| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 20 69 |initiali|zation i|
|00002ab0| 73 20 63 6f 6d 70 6c 65 | 74 65 2e 20 59 6f 75 20 |s comple|te. You |
|00002ac0| 6d 61 79 20 68 61 76 65 | 20 70 72 69 6e 74 69 6e |may have| printin|
|00002ad0| 67 20 63 6f 64 65 0d 77 | 68 69 63 68 20 63 61 6e |g code.w|hich can|
|00002ae0| 20 62 65 20 63 6c 65 61 | 6e 6c 79 20 73 65 70 61 | be clea|nly sepa|
|00002af0| 72 61 74 65 64 20 66 72 | 6f 6d 20 74 68 65 20 72 |rated fr|om the r|
|00002b00| 65 73 74 20 6f 66 20 79 | 6f 75 72 20 63 6f 64 65 |est of y|our code|
|00002b10| 3b 20 74 68 65 72 65 27 | 73 20 6e 6f 20 6e 65 65 |; there'|s no nee|
|00002b20| 64 0d 66 6f 72 20 69 74 | 20 74 6f 20 62 65 20 69 |d.for it| to be i|
|00002b30| 6e 20 6d 65 6d 6f 72 79 | 20 77 68 65 6e 20 74 68 |n memory| when th|
|00002b40| 65 20 75 73 65 72 20 69 | 73 6e 27 74 20 70 72 69 |e user i|sn't pri|
|00002b50| 6e 74 69 6e 67 20 2d 2d | 20 61 6e 64 20 73 6f 20 |nting --| and so |
|00002b60| 6f 6e 2e 20 54 68 69 73 | 0d 6d 61 6b 65 73 20 6d |on. This|.makes m|
|00002b70| 6f 72 65 20 65 66 66 69 | 63 69 65 6e 74 20 75 73 |ore effi|cient us|
|00002b80| 65 20 6f 66 20 79 6f 75 | 72 20 68 65 61 70 20 61 |e of you|r heap a|
|00002b90| 6e 64 20 61 6c 6c 6f 77 | 73 20 79 6f 75 72 20 61 |nd allow|s your a|
|00002ba0| 70 70 20 74 6f 20 72 75 | 6e 20 69 6e 20 6c 65 73 |pp to ru|n in les|
|00002bb0| 73 0d 6d 65 6d 6f 72 79 | 2e 0d 0d 54 68 65 72 65 |s.memory|...There|
|00002bc0| 20 69 73 20 61 20 73 6c | 69 67 68 74 20 70 65 72 | is a sl|ight per|
|00002bd0| 66 6f 72 6d 61 6e 63 65 | 20 68 69 74 20 77 68 65 |formance| hit whe|
|00002be0| 6e 20 6d 61 6b 69 6e 67 | 20 63 61 6c 6c 73 20 61 |n making| calls a|
|00002bf0| 63 72 6f 73 73 20 73 65 | 67 6d 65 6e 74 73 2c 0d |cross se|gments,.|
|00002c00| 62 65 63 61 75 73 65 20 | 74 68 65 79 20 6d 75 73 |because |they mus|
|00002c10| 74 20 70 61 73 73 20 74 | 68 72 6f 75 67 68 20 74 |t pass t|hrough t|
|00002c20| 68 65 20 6a 75 6d 70 20 | 74 61 62 6c 65 2e 20 4e |he jump |table. N|
|00002c30| 6f 72 6d 61 6c 6c 79 20 | 69 74 27 73 20 6e 6f 74 |ormally |it's not|
|00002c40| 20 77 6f 72 74 68 0d 77 | 6f 72 72 79 69 6e 67 20 | worth.w|orrying |
|00002c50| 61 62 6f 75 74 2c 20 62 | 75 74 20 49 20 77 6f 75 |about, b|ut I wou|
|00002c60| 6c 64 6e 27 74 20 63 61 | 6c 6c 20 73 65 67 6d 65 |ldn't ca|ll segme|
|00002c70| 6e 74 20 42 20 66 72 6f | 6d 20 69 6e 73 69 64 65 |nt B fro|m inside|
|00002c80| 20 61 20 74 69 67 68 74 | 2c 20 6c 6f 6e 67 2c 0d | a tight|, long,.|
|00002c90| 68 6f 70 65 66 75 6c 6c | 79 2d 66 61 73 74 20 6c |hopefull|y-fast l|
|00002ca0| 6f 6f 70 20 69 6e 20 73 | 65 67 6d 65 6e 74 20 41 |oop in s|egment A|
|00002cb0| 2e 20 49 66 20 79 6f 75 | 20 73 65 67 6d 65 6e 74 |. If you| segment|
|00002cc0| 20 79 6f 75 72 20 63 6f | 64 65 20 66 75 6e 63 74 | your co|de funct|
|00002cd0| 69 6f 6e 61 6c 6c 79 2c | 0d 74 68 69 73 20 77 69 |ionally,|.this wi|
|00002ce0| 6c 6c 20 67 65 6e 65 72 | 61 6c 6c 79 20 6e 6f 74 |ll gener|ally not|
|00002cf0| 20 68 61 70 70 65 6e 20 | 61 6e 79 77 61 79 2e 0d | happen |anyway..|
|00002d00| 0d 59 6f 75 20 73 68 6f | 75 6c 64 20 62 65 20 61 |.You sho|uld be a|
|00002d10| 77 61 72 65 20 74 68 61 | 74 20 73 65 67 6d 65 6e |ware tha|t segmen|
|00002d20| 74 73 20 61 72 65 20 6c | 6f 61 64 65 64 20 61 75 |ts are l|oaded au|
|00002d30| 74 6f 6d 61 67 69 63 61 | 6c 6c 79 20 74 68 65 20 |tomagica|lly the |
|00002d40| 66 69 72 73 74 20 74 69 | 6d 65 0d 61 6e 79 20 66 |first ti|me.any f|
|00002d50| 75 6e 63 74 69 6f 6e 20 | 69 6e 20 74 68 65 6d 20 |unction |in them |
|00002d60| 69 73 20 63 61 6c 6c 65 | 64 2c 20 62 75 74 20 74 |is calle|d, but t|
|00002d70| 68 65 79 20 61 72 65 20 | 6e 65 76 65 72 20 75 6e |hey are |never un|
|00002d80| 6c 6f 61 64 65 64 20 75 | 6e 6c 65 73 73 20 79 6f |loaded u|nless yo|
|00002d90| 75 20 64 6f 0d 73 6f 20 | 73 70 65 63 69 66 69 63 |u do.so |specific|
|00002da0| 61 6c 6c 79 20 69 6e 20 | 79 6f 75 72 20 63 6f 64 |ally in |your cod|
|00002db0| 65 2e 20 54 68 69 73 20 | 68 61 73 20 61 20 63 6f |e. This |has a co|
|00002dc0| 75 70 6c 65 20 6f 66 20 | 65 66 66 65 63 74 73 2e |uple of |effects.|
|00002dd0| 20 4f 6e 65 20 65 66 66 | 65 63 74 20 69 73 0d 74 | One eff|ect is.t|
|00002de0| 68 61 74 20 2a 61 6e 79 | 2a 20 72 6f 75 74 69 6e |hat *any|* routin|
|00002df0| 65 20 63 61 6e 20 6d 6f | 76 65 20 6d 65 6d 6f 72 |e can mo|ve memor|
|00002e00| 79 20 69 66 20 69 74 20 | 69 73 20 69 6e 20 61 6e |y if it |is in an|
|00002e10| 20 75 6e 6c 6f 61 64 65 | 64 20 73 65 67 6d 65 6e | unloade|d segmen|
|00002e20| 74 20 77 68 65 6e 0d 79 | 6f 75 20 63 61 6c 6c 20 |t when.y|ou call |
|00002e30| 69 74 2c 20 62 65 63 61 | 75 73 65 20 69 74 73 20 |it, beca|use its |
|00002e40| 73 65 67 6d 65 6e 74 20 | 77 69 6c 6c 20 62 65 20 |segment |will be |
|00002e50| 6c 6f 61 64 65 64 20 69 | 6e 74 6f 20 79 6f 75 72 |loaded i|nto your|
|00002e60| 20 68 65 61 70 20 62 65 | 66 6f 72 65 20 74 68 65 | heap be|fore the|
|00002e70| 0d 72 6f 75 74 69 6e 65 | 20 63 61 6e 20 62 65 20 |.routine| can be |
|00002e80| 63 61 6c 6c 65 64 2e 20 | 41 6e 6f 74 68 65 72 20 |called. |Another |
|00002e90| 65 66 66 65 63 74 20 69 | 73 20 74 68 61 74 20 79 |effect i|s that y|
|00002ea0| 6f 75 20 6e 65 65 64 20 | 74 6f 20 62 65 20 69 6e |ou need |to be in|
|00002eb0| 74 65 6c 6c 69 67 65 6e | 74 0d 61 62 6f 75 74 20 |telligen|t.about |
|00002ec0| 75 6e 6c 6f 61 64 69 6e | 67 20 79 6f 75 72 20 73 |unloadin|g your s|
|00002ed0| 65 67 6d 65 6e 74 73 20 | 69 66 20 79 6f 75 20 77 |egments |if you w|
|00002ee0| 61 6e 74 20 74 6f 20 72 | 65 61 70 20 74 68 65 20 |ant to r|eap the |
|00002ef0| 6d 65 6d 6f 72 79 2d 6d | 61 6e 61 67 65 6d 65 6e |memory-m|anagemen|
|00002f00| 74 0d 62 65 6e 65 66 69 | 74 73 2e 20 41 20 63 6f |t.benefi|ts. A co|
|00002f10| 6d 6d 6f 6e 20 70 72 61 | 63 74 69 63 65 20 69 73 |mmon pra|ctice is|
|00002f20| 20 74 6f 20 6b 65 65 70 | 20 79 6f 75 72 20 6d 61 | to keep| your ma|
|00002f30| 69 6e 20 65 76 65 6e 74 | 20 6c 6f 6f 70 20 69 6e |in event| loop in|
|00002f40| 20 73 65 67 6d 65 6e 74 | 20 30 0d 28 74 68 61 74 | segment| 0.(that|
|00002f50| 20 69 73 2c 20 74 68 65 | 20 6f 6e 65 20 74 68 61 | is, the| one tha|
|00002f60| 74 20 63 6f 6e 74 61 69 | 6e 73 20 79 6f 75 72 20 |t contai|ns your |
|00002f70| 6d 61 69 6e 20 72 6f 75 | 74 69 6e 65 29 2c 20 61 |main rou|tine), a|
|00002f80| 6e 64 20 65 61 63 68 20 | 74 69 6d 65 20 74 68 72 |nd each |time thr|
|00002f90| 6f 75 67 68 0d 74 68 65 | 20 65 76 65 6e 74 20 6c |ough.the| event l|
|00002fa0| 6f 6f 70 2c 20 75 6e 6c | 6f 61 64 20 65 76 65 72 |oop, unl|oad ever|
|00002fb0| 79 20 6f 74 68 65 72 20 | 73 65 67 6d 65 6e 74 20 |y other |segment |
|00002fc0| 79 6f 75 27 76 65 20 67 | 6f 74 2e 20 55 6e 6c 6f |you've g|ot. Unlo|
|00002fd0| 61 64 69 6e 67 20 61 20 | 73 65 67 6d 65 6e 74 0d |ading a |segment.|
|00002fe0| 64 6f 65 73 6e 27 74 20 | 66 6f 72 63 65 20 69 74 |doesn't |force it|
|00002ff0| 20 66 72 6f 6d 20 6d 65 | 6d 6f 72 79 2c 20 69 74 | from me|mory, it|
|00003000| 20 6a 75 73 74 20 66 72 | 65 65 73 20 69 74 20 74 | just fr|ees it t|
|00003010| 6f 20 6d 6f 76 65 20 69 | 6e 20 74 68 65 20 68 65 |o move i|n the he|
|00003020| 61 70 20 61 6e 64 20 74 | 6f 0d 62 65 20 70 75 72 |ap and t|o.be pur|
|00003030| 67 65 64 20 69 66 20 6e | 65 65 64 65 64 20 77 68 |ged if n|eeded wh|
|00003040| 65 6e 20 6d 65 6d 6f 72 | 79 20 67 65 74 73 20 6c |en memor|y gets l|
|00003050| 6f 77 2e 20 43 6f 6d 6d | 6f 6e 6c 79 20 75 73 65 |ow. Comm|only use|
|00003060| 64 20 73 65 67 6d 65 6e | 74 73 20 77 69 6c 6c 0d |d segmen|ts will.|
|00003070| 74 68 65 72 65 66 6f 72 | 65 20 69 6e 63 75 72 20 |therefor|e incur |
|00003080| 6e 6f 20 73 65 72 69 6f | 75 73 20 70 65 72 66 6f |no serio|us perfo|
|00003090| 72 6d 61 6e 63 65 20 70 | 65 6e 61 6c 74 79 20 66 |rmance p|enalty f|
|000030a0| 72 6f 6d 20 62 65 69 6e | 67 20 72 65 70 65 61 74 |rom bein|g repeat|
|000030b0| 65 64 6c 79 0d 75 6e 6c | 6f 61 64 65 64 20 75 6e |edly.unl|oaded un|
|000030c0| 6c 65 73 73 20 6d 65 6d | 6f 72 79 20 69 73 20 6c |less mem|ory is l|
|000030d0| 6f 77 3b 20 74 68 65 20 | 75 73 65 72 20 63 61 6e |ow; the |user can|
|000030e0| 20 74 68 65 6e 20 69 6d | 70 72 6f 76 65 20 70 65 | then im|prove pe|
|000030f0| 72 66 6f 72 6d 61 6e 63 | 65 20 62 79 0d 61 6c 6c |rformanc|e by.all|
|00003100| 6f 63 61 74 69 6e 67 20 | 6d 6f 72 65 20 6d 65 6d |ocating |more mem|
|00003110| 6f 72 79 20 74 6f 20 74 | 68 65 20 61 70 70 2c 20 |ory to t|he app, |
|00003120| 69 66 20 6d 6f 72 65 20 | 6d 65 6d 6f 72 79 20 69 |if more |memory i|
|00003130| 73 20 61 76 61 69 6c 61 | 62 6c 65 2e 0d 0d 45 78 |s availa|ble...Ex|
|00003140| 63 65 70 74 69 6f 6e 73 | 20 74 6f 20 74 68 65 20 |ceptions| to the |
|00003150| 61 75 74 6f 6d 61 67 69 | 63 61 6c 20 6c 6f 61 64 |automagi|cal load|
|00003160| 69 6e 67 20 6f 66 20 73 | 65 67 6d 65 6e 74 73 3a |ing of s|egments:|
|00003170| 20 72 65 74 75 72 6e 73 | 20 66 72 6f 6d 0d 73 75 | returns| from.su|
|00003180| 62 72 6f 75 74 69 6e 65 | 73 20 64 6f 20 2a 6e 6f |broutine|s do *no|
|00003190| 74 2a 20 66 6f 72 63 65 | 20 6c 6f 61 64 69 6e 67 |t* force| loading|
|000031a0| 20 6f 66 20 73 65 67 6d | 65 6e 74 73 2c 20 61 6e | of segm|ents, an|
|000031b0| 64 20 73 65 67 6d 65 6e | 74 73 20 63 61 6e 6e 6f |d segmen|ts canno|
|000031c0| 74 20 62 65 0d 6c 6f 61 | 64 65 64 20 61 74 20 69 |t be.loa|ded at i|
|000031d0| 6e 74 65 72 72 75 70 74 | 20 6c 65 76 65 6c 2e 20 |nterrupt| level. |
|000031e0| 4e 65 76 65 72 20 75 6e | 6c 6f 61 64 20 61 20 73 |Never un|load a s|
|000031f0| 65 67 6d 65 6e 74 20 69 | 66 20 79 6f 75 72 20 63 |egment i|f your c|
|00003200| 61 6c 6c 20 73 74 61 63 | 6b 0d 63 6f 6e 74 61 69 |all stac|k.contai|
|00003210| 6e 73 20 70 6f 69 6e 74 | 65 72 73 20 69 6e 74 6f |ns point|ers into|
|00003220| 20 69 74 2c 20 6f 72 20 | 69 66 20 79 6f 75 20 61 | it, or |if you a|
|00003230| 72 65 20 75 73 69 6e 67 | 20 69 6e 74 65 72 72 75 |re using| interru|
|00003240| 70 74 2d 6c 65 76 65 6c | 20 63 61 6c 6c 62 61 63 |pt-level| callbac|
|00003250| 6b 73 0d 28 65 2e 67 2e | 20 66 72 6f 6d 20 56 42 |ks.(e.g.| from VB|
|00003260| 4c 20 6f 72 20 73 6c 6f | 74 20 71 75 65 75 65 73 |L or slo|t queues|
|00003270| 2c 20 61 73 79 6e 63 20 | 73 6f 75 6e 64 20 63 61 |, async |sound ca|
|00003280| 6c 6c 73 2c 20 61 73 79 | 6e 63 20 6e 65 74 77 6f |lls, asy|nc netwo|
|00003290| 72 6b 20 63 61 6c 6c 73 | 2c 20 61 6e 64 0d 74 68 |rk calls|, and.th|
|000032a0| 65 20 6c 69 6b 65 29 20 | 74 6f 20 72 6f 75 74 69 |e like) |to routi|
|000032b0| 6e 65 73 20 69 6e 20 74 | 68 65 20 73 65 67 6d 65 |nes in t|he segme|
|000032c0| 6e 74 2e 20 28 49 20 67 | 6f 74 20 69 6e 74 6f 20 |nt. (I g|ot into |
|000032d0| 74 72 6f 75 62 6c 65 20 | 6f 6e 63 65 20 62 79 20 |trouble |once by |
|000032e0| 63 61 6c 6c 69 6e 67 0d | 6d 79 20 6d 61 69 6e 20 |calling.|my main |
|000032f0| 65 76 65 6e 74 20 68 61 | 6e 64 6c 65 72 20 66 72 |event ha|ndler fr|
|00003300| 6f 6d 20 61 20 72 6f 75 | 74 69 6e 65 20 69 6e 20 |om a rou|tine in |
|00003310| 61 20 64 69 66 66 65 72 | 65 6e 74 20 73 65 67 6d |a differ|ent segm|
|00003320| 65 6e 74 3b 20 74 68 65 | 20 6d 61 69 6e 0d 65 76 |ent; the| main.ev|
|00003330| 65 6e 74 20 68 61 6e 64 | 6c 65 72 20 77 61 73 20 |ent hand|ler was |
|00003340| 69 6e 6e 6f 63 65 6e 74 | 6c 79 20 75 6e 6c 6f 61 |innocent|ly unloa|
|00003350| 64 69 6e 67 20 74 68 65 | 20 73 65 67 6d 65 6e 74 |ding the| segment|
|00003360| 20 74 68 61 74 20 63 61 | 6c 6c 65 64 20 69 74 2e | that ca|lled it.|
|00003370| 0d 49 6e 74 65 72 6d 69 | 74 74 65 6e 74 6c 79 20 |.Intermi|ttently |
|00003380| 5b 77 68 65 6e 65 76 65 | 72 20 73 6f 6d 65 74 68 |[wheneve|r someth|
|00003390| 69 6e 67 20 73 74 69 72 | 72 65 64 20 75 70 20 74 |ing stir|red up t|
|000033a0| 68 65 20 68 65 61 70 20 | 6a 75 73 74 20 77 72 6f |he heap |just wro|
|000033b0| 6e 67 5d 20 69 74 0d 77 | 6f 75 6c 64 20 63 72 61 |ng] it.w|ould cra|
|000033c0| 73 68 20 77 68 65 6e 20 | 74 72 79 69 6e 67 20 74 |sh when |trying t|
|000033d0| 6f 20 72 65 74 75 72 6e | 20 74 6f 20 74 68 65 20 |o return| to the |
|000033e0| 75 6e 6c 6f 61 64 65 64 | 20 73 65 67 6d 65 6e 74 |unloaded| segment|
|000033f0| 2e 29 0d 0d 53 65 67 6d | 65 6e 74 73 20 63 61 6e |.)..Segm|ents can|
|00003400| 20 62 65 20 6d 61 72 6b | 65 64 20 22 70 72 65 6c | be mark|ed "prel|
|00003410| 6f 61 64 22 20 69 6e 20 | 74 68 65 20 72 65 73 6f |oad" in |the reso|
|00003420| 75 72 63 65 20 66 6f 72 | 6b 20 69 66 20 79 6f 75 |urce for|k if you|
|00003430| 20 77 61 6e 74 20 74 68 | 65 6d 0d 6c 6f 61 64 65 | want th|em.loade|
|00003440| 64 20 61 74 20 73 74 61 | 72 74 75 70 3b 20 69 66 |d at sta|rtup; if|
|00003450| 20 79 6f 75 20 6e 65 76 | 65 72 20 65 78 70 6c 69 | you nev|er expli|
|00003460| 63 69 74 6c 79 20 75 6e | 6c 6f 61 64 20 74 68 65 |citly un|load the|
|00003470| 6d 2c 20 74 68 65 6e 20 | 74 68 65 79 27 6c 6c 0d |m, then |they'll.|
|00003480| 61 6c 77 61 79 73 20 62 | 65 20 74 68 65 72 65 20 |always b|e there |
|00003490| 77 68 65 6e 20 79 6f 75 | 20 6e 65 65 64 20 74 68 |when you| need th|
|000034a0| 65 6d 2e 0d 0d 48 6f 70 | 65 20 74 68 69 73 20 68 |em...Hop|e this h|
|000034b0| 65 6c 70 73 2e 0d 0d 2d | 2d 20 52 69 63 6b 20 48 |elps...-|- Rick H|
|000034c0| 6f 6c 7a 67 72 61 66 65 | 2c 20 61 20 6d 65 6d 62 |olzgrafe|, a memb|
|000034d0| 65 72 20 6f 66 20 74 68 | 65 20 54 61 6c 69 67 65 |er of th|e Talige|
|000034e0| 6e 74 73 69 61 0d 20 20 | 20 52 69 63 6b 5f 48 6f |ntsia. | Rick_Ho|
|000034f0| 6c 7a 67 72 61 66 65 40 | 74 61 6c 69 67 65 6e 74 |lzgrafe@|taligent|
|00003500| 2e 63 6f 6d 0d 20 20 20 | 72 6d 68 40 74 61 6c 69 |.com. |rmh@tali|
|00003510| 67 65 6e 74 2e 63 6f 6d | 0d 0d 2b 2b 2b 2b 2b 2b |gent.com|..++++++|
|00003520| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003530| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 63 75 72 |+++++..>|From cur|
|00003540| 72 65 79 72 40 68 61 6c | 63 79 6f 6e 2e 68 61 6c |reyr@hal|cyon.hal|
|00003550| 63 79 6f 6e 2e 63 6f 6d | 20 28 63 75 72 72 65 79 |cyon.com| (currey|
|00003560| 72 29 0d 44 61 74 65 3a | 20 31 39 20 4e 6f 76 20 |r).Date:| 19 Nov |
|00003570| 31 39 39 34 20 31 30 3a | 31 36 3a 35 34 20 47 4d |1994 10:|16:54 GM|
|00003580| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00003590| 4e 6f 72 74 68 77 65 73 | 74 20 4e 65 78 75 73 20 |Northwes|t Nexus |
|000035a0| 49 6e 63 2e 0d 0d 49 6e | 20 61 72 74 69 63 6c 65 |Inc...In| article|
|000035b0| 20 3c 52 69 63 6b 5f 48 | 6f 6c 7a 67 72 61 66 65 | <Rick_H|olzgrafe|
|000035c0| 2d 30 38 31 31 39 34 31 | 30 34 31 33 38 30 30 30 |-0811941|04138000|
|000035d0| 31 40 72 69 63 6b 73 2d | 63 61 66 65 2e 74 61 6c |1@ricks-|cafe.tal|
|000035e0| 69 67 65 6e 74 2e 63 6f | 6d 3e 0d 52 69 63 6b 5f |igent.co|m>.Rick_|
|000035f0| 48 6f 6c 7a 67 72 61 66 | 65 40 74 61 6c 69 67 65 |Holzgraf|e@talige|
|00003600| 6e 74 2e 63 6f 6d 20 28 | 52 69 63 6b 20 48 6f 6c |nt.com (|Rick Hol|
|00003610| 7a 67 72 61 66 65 29 20 | 77 72 69 74 65 73 3a 0d |zgrafe) |writes:.|
|00003620| 0d 3e 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 62 65 |.> You s|hould be|
|00003630| 20 61 77 61 72 65 20 74 | 68 61 74 20 73 65 67 6d | aware t|hat segm|
|00003640| 65 6e 74 73 20 61 72 65 | 20 6c 6f 61 64 65 64 20 |ents are| loaded |
|00003650| 61 75 74 6f 6d 61 67 69 | 63 61 6c 6c 79 20 74 68 |automagi|cally th|
|00003660| 65 20 66 69 72 73 74 20 | 74 69 6d 65 0d 3e 20 61 |e first |time.> a|
|00003670| 6e 79 20 66 75 6e 63 74 | 69 6f 6e 20 69 6e 20 74 |ny funct|ion in t|
|00003680| 68 65 6d 20 69 73 20 63 | 61 6c 6c 65 64 2c 20 62 |hem is c|alled, b|
|00003690| 75 74 20 74 68 65 79 20 | 61 72 65 20 6e 65 76 65 |ut they |are neve|
|000036a0| 72 20 75 6e 6c 6f 61 64 | 65 64 20 75 6e 6c 65 73 |r unload|ed unles|
|000036b0| 73 20 79 6f 75 20 64 6f | 0d 3e 20 73 6f 20 73 70 |s you do|.> so sp|
|000036c0| 65 63 69 66 69 63 61 6c | 6c 79 20 69 6e 20 79 6f |ecifical|ly in yo|
|000036d0| 75 72 20 63 6f 64 65 2e | 20 54 68 69 73 20 68 61 |ur code.| This ha|
|000036e0| 73 20 61 20 63 6f 75 70 | 6c 65 20 6f 66 20 65 66 |s a coup|le of ef|
|000036f0| 66 65 63 74 73 2e 20 4f | 6e 65 20 65 66 66 65 63 |fects. O|ne effec|
|00003700| 74 20 69 73 0d 3e 20 74 | 68 61 74 20 2a 61 6e 79 |t is.> t|hat *any|
|00003710| 2a 20 72 6f 75 74 69 6e | 65 20 63 61 6e 20 6d 6f |* routin|e can mo|
|00003720| 76 65 20 6d 65 6d 6f 72 | 79 20 69 66 20 69 74 20 |ve memor|y if it |
|00003730| 69 73 20 69 6e 20 61 6e | 20 75 6e 6c 6f 61 64 65 |is in an| unloade|
|00003740| 64 20 73 65 67 6d 65 6e | 74 20 77 68 65 6e 0d 3e |d segmen|t when.>|
|00003750| 20 79 6f 75 20 63 61 6c | 6c 20 69 74 2c 20 62 65 | you cal|l it, be|
|00003760| 63 61 75 73 65 20 69 74 | 73 20 73 65 67 6d 65 6e |cause it|s segmen|
|00003770| 74 20 77 69 6c 6c 20 62 | 65 20 6c 6f 61 64 65 64 |t will b|e loaded|
|00003780| 20 69 6e 74 6f 20 79 6f | 75 72 20 68 65 61 70 20 | into yo|ur heap |
|00003790| 62 65 66 6f 72 65 20 74 | 68 65 0d 0d 41 6e 6f 74 |before t|he..Anot|
|000037a0| 68 65 72 20 22 65 66 66 | 65 63 74 22 20 69 73 20 |her "eff|ect" is |
|000037b0| 74 68 61 74 20 69 74 20 | 63 61 6e 20 46 41 49 4c |that it |can FAIL|
|000037c0| 20 74 6f 20 6c 6f 61 64 | 20 69 66 20 74 68 65 72 | to load| if ther|
|000037d0| 65 20 69 73 6e 27 74 20 | 72 6f 6f 6d 20 69 6e 20 |e isn't |room in |
|000037e0| 74 68 65 0d 68 65 61 70 | 20 66 6f 72 20 74 68 65 |the.heap| for the|
|000037f0| 20 73 65 67 6d 65 6e 74 | 2e 20 54 68 69 73 20 63 | segment|. This c|
|00003800| 61 6e 20 62 65 20 62 61 | 64 20 6e 65 77 73 20 74 |an be ba|d news t|
|00003810| 6f 20 79 6f 75 72 20 75 | 73 65 72 73 2e 20 49 66 |o your u|sers. If|
|00003820| 20 79 6f 75 20 69 67 6e | 6f 72 65 0d 74 68 69 73 | you ign|ore.this|
|00003830| 20 66 61 63 74 2c 20 61 | 6e 64 20 74 68 65 20 73 | fact, a|nd the s|
|00003840| 65 67 6d 65 6e 74 20 66 | 61 69 6c 73 20 74 6f 20 |egment f|ails to |
|00003850| 6c 6f 61 64 2c 20 79 6f | 75 72 20 63 6f 64 65 20 |load, yo|ur code |
|00003860| 68 61 64 20 62 65 74 74 | 65 72 20 68 61 6e 64 6c |had bett|er handl|
|00003870| 65 0d 74 68 69 73 20 66 | 61 63 74 2e 20 42 75 74 |e.this f|act. But|
|00003880| 20 68 61 6e 64 6c 69 6e | 67 20 74 68 65 20 66 61 | handlin|g the fa|
|00003890| 69 6c 75 72 65 20 69 73 | 20 61 20 70 61 69 6e 20 |ilure is| a pain |
|000038a0| 69 6e 20 74 68 65 20 40 | 23 24 40 2e 20 48 6f 77 |in the @|#$@. How|
|000038b0| 20 6d 61 6e 79 0d 61 70 | 70 73 20 63 61 6e 20 79 | many.ap|ps can y|
|000038c0| 6f 75 20 6e 61 6d 65 20 | 74 68 61 74 20 68 61 6e |ou name |that han|
|000038d0| 64 6c 65 20 6c 6f 77 20 | 6d 65 6d 6f 72 79 20 73 |dle low |memory s|
|000038e0| 69 74 75 61 74 69 6f 6e | 73 20 72 65 6c 69 61 62 |ituation|s reliab|
|000038f0| 6c 79 3f 0d 0d 4d 79 20 | 73 75 67 67 65 73 74 69 |ly?..My |suggesti|
|00003900| 6f 6e 20 77 6f 75 6c 64 | 20 62 65 20 74 6f 20 75 |on would| be to u|
|00003910| 73 65 20 61 20 6d 6f 64 | 65 72 6e 20 61 70 70 6c |se a mod|ern appl|
|00003920| 69 63 61 74 69 6f 6e 20 | 66 72 61 6d 65 77 6f 72 |ication |framewor|
|00003930| 6b 20 74 68 61 74 20 68 | 69 64 65 73 0d 74 68 65 |k that h|ides.the|
|00003940| 20 75 67 6c 79 20 64 65 | 74 61 69 6c 73 20 6f 66 | ugly de|tails of|
|00003950| 20 73 65 67 6d 65 6e 74 | 61 74 69 6f 6e 20 6c 6f | segment|ation lo|
|00003960| 61 64 69 6e 67 2f 75 6e | 6c 6f 61 64 69 6e 67 20 |ading/un|loading |
|00003970| 61 6e 64 20 66 6f 6c 6c | 6f 77 20 74 68 65 0d 61 |and foll|ow the.a|
|00003980| 64 76 69 63 65 20 6f 74 | 68 65 72 73 20 68 61 76 |dvice ot|hers hav|
|00003990| 65 20 67 69 76 65 6e 20 | 6f 6e 20 73 65 67 6d 65 |e given |on segme|
|000039a0| 6e 74 69 6e 67 20 79 6f | 75 72 20 63 6f 64 65 2e |nting yo|ur code.|
|000039b0| 20 4d 61 63 41 70 70 20 | 6d 61 69 6e 74 61 69 6e | MacApp |maintain|
|000039c0| 73 20 61 0d 72 65 73 65 | 72 76 65 20 69 6e 20 6f |s a.rese|rve in o|
|000039d0| 72 64 65 72 20 74 6f 20 | 69 6e 73 75 72 65 20 74 |rder to |insure t|
|000039e0| 68 61 74 20 74 68 65 72 | 65 20 69 73 20 61 6c 77 |hat ther|e is alw|
|000039f0| 61 79 73 20 67 6f 69 6e | 67 20 74 6f 20 62 65 20 |ays goin|g to be |
|00003a00| 6d 65 6d 6f 72 79 0d 61 | 76 61 69 6c 61 62 6c 65 |memory.a|vailable|
|00003a10| 20 66 6f 72 20 74 68 61 | 74 20 63 6f 64 65 20 73 | for tha|t code s|
|00003a20| 65 67 6d 65 6e 74 73 20 | 74 6f 20 62 65 20 6c 6f |egments |to be lo|
|00003a30| 61 64 65 64 20 61 6e 64 | 20 63 6f 75 6c 64 20 62 |aded and| could b|
|00003a40| 65 20 75 73 65 64 20 61 | 73 20 61 6e 0d 65 78 61 |e used a|s an.exa|
|00003a50| 6d 70 6c 65 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |mple if |you want|
|00003a60| 20 74 6f 20 22 72 6f 6c | 6c 20 79 6f 75 72 20 6f | to "rol|l your o|
|00003a70| 77 6e 22 2e 0d 0d 2d 52 | 6f 62 65 72 74 20 43 75 |wn"...-R|obert Cu|
|00003a80| 72 72 65 79 0d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rrey..--|--------|
|00003a90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003aa0| 2d 0d 0d 3e 46 72 6f 6d | 20 6d 64 61 77 40 61 6c |-..>From| mdaw@al|
|00003ab0| 69 61 73 2e 63 6f 6d 20 | 28 4d 61 74 74 20 44 61 |ias.com |(Matt Da|
|00003ac0| 77 29 0d 53 75 62 6a 65 | 63 74 3a 20 50 6c 75 67 |w).Subje|ct: Plug|
|00003ad0| 2d 49 6e 73 20 77 2d 20 | 43 46 4d 0d 44 61 74 65 |-Ins w- |CFM.Date|
|00003ae0| 3a 20 57 65 64 2c 20 31 | 36 20 4e 6f 76 20 31 39 |: Wed, 1|6 Nov 19|
|00003af0| 39 34 20 30 33 3a 35 30 | 3a 31 30 20 47 4d 54 0d |94 03:50|:10 GMT.|
|00003b00| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 41 6c |Organiza|tion: Al|
|00003b10| 69 61 73 20 52 65 73 65 | 61 72 63 68 20 49 6e 63 |ias Rese|arch Inc|
|00003b20| 2e 0d 0d 48 61 73 20 61 | 6e 79 62 6f 64 79 20 69 |...Has a|nybody i|
|00003b30| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 61 20 77 61 79 |mplement|ed a way|
|00003b40| 20 74 6f 20 64 6f 20 70 | 6c 75 67 2d 69 6e 73 20 | to do p|lug-ins |
|00003b50| 28 61 6c 61 20 50 68 6f | 74 6f 53 68 6f 70 29 20 |(ala Pho|toShop) |
|00003b60| 77 69 74 68 20 74 68 65 | 20 43 6f 64 65 0d 46 72 |with the| Code.Fr|
|00003b70| 61 67 6d 65 6e 74 20 4d | 61 6e 61 67 65 72 3f 20 |agment M|anager? |
|00003b80| 49 66 20 73 6f 2c 20 77 | 68 61 74 20 69 73 20 74 |If so, w|hat is t|
|00003b90| 68 65 20 62 65 73 74 20 | 77 61 79 20 6f 66 20 64 |he best |way of d|
|00003ba0| 6f 69 6e 67 20 74 68 69 | 73 3f 0d 0d 2d 20 2d 2d |oing thi|s?..- --|
|00003bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003bc0| 2d 2d 2d 0d 7c 20 4d 61 | 74 74 20 44 61 77 20 20 |---.| Ma|tt Daw |
|00003bd0| 20 20 20 20 20 20 20 20 | 20 20 7c 0d 7c 20 41 6c | | |.| Al|
|00003be0| 69 61 73 20 52 65 73 65 | 61 72 63 68 20 49 6e 63 |ias Rese|arch Inc|
|00003bf0| 2e 20 7c 0d 2d 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |. |.- --|--------|
|00003c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 2b 2b 2b |--------|---..+++|
|00003c10| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003c20| 2b 2b 2b 2b 2b 2b 2b 2b | 0d 0d 3e 46 72 6f 6d 20 |++++++++|..>From |
|00003c30| 68 2b 40 6d 65 74 72 6f | 77 65 72 6b 73 2e 63 6f |h+@metro|werks.co|
|00003c40| 6d 20 28 4a 6f 6e 20 57 | 7b 74 74 65 29 0d 44 61 |m (Jon W|{tte).Da|
|00003c50| 74 65 3a 20 53 61 74 2c | 20 31 39 20 4e 6f 76 20 |te: Sat,| 19 Nov |
|00003c60| 31 39 39 34 20 31 35 3a | 34 30 3a 33 34 20 2b 30 |1994 15:|40:34 +0|
|00003c70| 31 30 30 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |100.Orga|nization|
|00003c80| 3a 20 54 68 65 20 43 6f | 6e 73 70 69 72 61 63 79 |: The Co|nspiracy|
|00003c90| 0d 0d 49 6e 20 61 72 74 | 69 63 6c 65 20 3c 6d 64 |..In art|icle <md|
|00003ca0| 61 77 2d 31 35 31 31 39 | 34 32 32 35 30 31 30 30 |aw-15119|42250100|
|00003cb0| 30 30 31 40 31 39 32 2e | 37 35 2e 32 31 2e 34 34 |001@192.|75.21.44|
|00003cc0| 3e 2c 0d 6d 64 61 77 40 | 61 6c 69 61 73 2e 63 6f |>,.mdaw@|alias.co|
|00003cd0| 6d 20 28 4d 61 74 74 20 | 44 61 77 29 20 77 72 6f |m (Matt |Daw) wro|
|00003ce0| 74 65 3a 0d 0d 3e 48 61 | 73 20 61 6e 79 62 6f 64 |te:..>Ha|s anybod|
|00003cf0| 79 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 20 61 20 |y implem|ented a |
|00003d00| 77 61 79 20 74 6f 20 64 | 6f 20 70 6c 75 67 2d 69 |way to d|o plug-i|
|00003d10| 6e 73 20 28 61 6c 61 20 | 50 68 6f 74 6f 53 68 6f |ns (ala |PhotoSho|
|00003d20| 70 29 20 77 69 74 68 20 | 74 68 65 20 43 6f 64 65 |p) with |the Code|
|00003d30| 0d 3e 46 72 61 67 6d 65 | 6e 74 20 4d 61 6e 61 67 |.>Fragme|nt Manag|
|00003d40| 65 72 3f 20 49 66 20 73 | 6f 2c 20 77 68 61 74 20 |er? If s|o, what |
|00003d50| 69 73 20 74 68 65 20 62 | 65 73 74 20 77 61 79 20 |is the b|est way |
|00003d60| 6f 66 20 64 6f 69 6e 67 | 20 74 68 69 73 3f 0d 0d |of doing| this?..|
|00003d70| 49 74 27 73 20 52 45 41 | 4c 4c 59 20 65 61 73 79 |It's REA|LLY easy|
|00003d80| 2e 20 59 6f 75 20 6a 75 | 73 74 20 6c 6f 61 64 20 |. You ju|st load |
|00003d90| 74 68 65 20 66 72 61 67 | 6d 65 6e 74 20 66 72 6f |the frag|ment fro|
|00003da0| 6d 20 64 69 73 6b 2c 20 | 61 6e 64 20 67 65 74 20 |m disk, |and get |
|00003db0| 0d 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 |.the val|ue of th|
|00003dc0| 65 20 73 79 6d 62 6f 6c | 20 79 6f 75 20 77 61 6e |e symbol| you wan|
|00003dd0| 74 20 28 6c 69 6b 65 20 | 22 6d 61 69 6e 22 29 20 |t (like |"main") |
|00003de0| 61 6e 64 20 63 61 6c 6c | 20 69 74 20 61 73 20 61 |and call| it as a|
|00003df0| 20 0d 66 75 6e 63 74 69 | 6f 6e 20 70 6f 69 6e 74 | .functi|on point|
|00003e00| 65 72 2e 20 4e 4f 20 50 | 41 49 4e 21 0d 0d 55 6e |er. NO P|AIN!..Un|
|00003e10| 6c 65 73 73 20 79 6f 75 | 27 72 65 20 6f 6e 20 74 |less you|'re on t|
|00003e20| 68 65 20 36 38 4b 2c 20 | 69 6e 20 77 68 69 63 68 |he 68K, |in which|
|00003e30| 20 63 61 73 65 20 69 74 | 27 73 20 23 24 47 55 66 | case it|'s #$GUf|
|00003e40| 66 61 77 0d 0d 3c 57 68 | 61 74 20 77 61 73 20 74 |faw..<Wh|at was t|
|00003e50| 68 61 74 3f 3e 0d 3c 54 | 68 65 20 6d 61 6e 61 67 |hat?>.<T|he manag|
|00003e60| 65 72 20 66 6f 72 20 74 | 68 65 20 43 46 4d 20 36 |er for t|he CFM 6|
|00003e70| 38 4b 2c 20 74 69 72 69 | 6e 67 20 6f 66 20 74 68 |8K, tiri|ng of th|
|00003e80| 65 20 66 6c 61 6d 65 73 | 20 61 6e 64 20 0d 70 75 |e flames| and .pu|
|00003e90| 74 74 69 6e 67 20 74 68 | 65 6d 20 6f 75 74 3e 0d |tting th|em out>.|
|00003ea0| 3c 4f 68 21 3e 0d 0d 43 | 68 65 65 72 73 2c 0d 0d |<Oh!>..C|heers,..|
|00003eb0| 09 09 09 09 09 2f 20 68 | 2b 0d 0d 0d 2d 2d 0d 20 |...../ h|+...--. |
|00003ec0| 20 4a 6f 6e 20 57 e4 74 | 74 65 20 28 68 2b 40 6d | Jon W.t|te (h+@m|
|00003ed0| 65 74 72 6f 77 65 72 6b | 73 2e 63 6f 6d 29 2c 20 |etrowerk|s.com), |
|00003ee0| 48 61 67 61 67 61 74 61 | 6e 20 31 2c 20 31 31 33 |Hagagata|n 1, 113|
|00003ef0| 20 34 38 20 53 74 6f 63 | 6b 68 6f 6c 6d 2c 20 53 | 48 Stoc|kholm, S|
|00003f00| 77 65 64 65 6e 0d 20 20 | 22 50 73 79 63 68 6f 74 |weden. |"Psychot|
|00003f10| 68 65 72 61 70 69 73 74 | 22 20 2d 20 22 50 73 79 |herapist|" - "Psy|
|00003f20| 63 68 6f 2d 54 68 65 2d | 52 61 70 69 73 74 22 0d |cho-The-|Rapist".|
|00003f30| 20 20 20 50 75 72 65 20 | 63 6f 69 6e 63 69 64 65 | Pure |coincide|
|00003f40| 6e 63 65 3f 20 59 6f 75 | 20 64 65 63 69 64 65 21 |nce? You| decide!|
|00003f50| 0d 0d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...-----|--------|
|00003f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00003f70| 3e 46 72 6f 6d 20 61 6e | 64 79 40 64 69 6a 6b 73 |>From an|dy@dijks|
|00003f80| 74 72 61 2e 63 73 2e 63 | 6c 65 6d 73 6f 6e 2e 65 |tra.cs.c|lemson.e|
|00003f90| 64 75 20 28 41 6e 64 72 | 65 77 20 47 72 65 65 6e |du (Andr|ew Green|
|00003fa0| 73 68 69 65 6c 64 73 29 | 0d 53 75 62 6a 65 63 74 |shields)|.Subject|
|00003fb0| 3a 20 53 61 76 69 6e 67 | 20 61 20 50 49 43 54 20 |: Saving| a PICT |
|00003fc0| 74 6f 20 61 20 66 69 6c | 65 20 2d 20 68 6f 77 3f |to a fil|e - how?|
|00003fd0| 0d 44 61 74 65 3a 20 31 | 36 20 4e 6f 76 20 31 39 |.Date: 1|6 Nov 19|
|00003fe0| 39 34 20 30 30 3a 34 33 | 3a 32 39 20 47 4d 54 0d |94 00:43|:29 GMT.|
|00003ff0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 43 6c |Organiza|tion: Cl|
|00004000| 65 6d 73 6f 6e 20 55 6e | 69 76 65 72 73 69 74 79 |emson Un|iversity|
|00004010| 0d 0d 0d 20 20 49 20 68 | 61 76 65 20 66 69 6e 61 |... I h|ave fina|
|00004020| 6c 6c 79 20 67 6f 74 20 | 6d 79 20 74 65 78 74 20 |lly got |my text |
|00004030| 66 69 6c 65 20 74 6f 20 | 63 6f 6e 76 65 72 74 20 |file to |convert |
|00004040| 74 6f 20 61 20 6e 69 63 | 65 20 69 6e 66 72 61 2d |to a nic|e infra-|
|00004050| 72 65 64 20 69 6d 61 67 | 65 0d 77 68 69 63 68 20 |red imag|e.which |
|00004060| 49 20 6e 6f 77 20 68 61 | 76 65 20 69 6e 20 74 68 |I now ha|ve in th|
|00004070| 65 20 66 6f 72 6d 61 74 | 20 6f 66 20 61 20 50 49 |e format| of a PI|
|00004080| 43 54 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 77 68 |CT. How|ever, wh|
|00004090| 65 6e 20 49 20 74 72 79 | 20 74 6f 20 73 61 76 65 |en I try| to save|
|000040a0| 0d 74 68 69 73 20 50 49 | 43 54 20 61 73 20 61 20 |.this PI|CT as a |
|000040b0| 66 69 6c 65 20 49 20 61 | 6d 20 72 75 6e 6e 69 6e |file I a|m runnin|
|000040c0| 67 20 69 6e 74 6f 20 74 | 72 6f 75 62 6c 65 2e 20 |g into t|rouble. |
|000040d0| 20 49 20 61 6d 20 75 73 | 69 6e 67 0d 47 65 74 48 | I am us|ing.GetH|
|000040e0| 61 6e 64 6c 65 53 69 7a | 65 20 74 6f 20 66 69 6e |andleSiz|e to fin|
|000040f0| 64 20 6f 75 74 20 68 6f | 77 20 62 69 67 20 74 68 |d out ho|w big th|
|00004100| 65 20 50 49 43 54 20 69 | 73 20 61 6e 64 20 74 68 |e PICT i|s and th|
|00004110| 65 6e 20 49 20 61 6d 20 | 75 73 69 6e 67 0d 53 46 |en I am |using.SF|
|00004120| 57 72 69 74 65 20 74 6f | 20 77 72 69 74 65 20 74 |Write to| write t|
|00004130| 68 65 20 64 61 74 61 20 | 74 6f 20 61 20 66 69 6c |he data |to a fil|
|00004140| 65 2e 20 20 49 20 61 6d | 20 75 73 69 6e 67 20 2a |e. I am| using *|
|00004150| 74 68 65 50 69 63 74 20 | 61 73 20 74 68 65 0d 70 |thePict |as the.p|
|00004160| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 65 20 64 61 |ointer t|o the da|
|00004170| 74 61 2c 20 77 68 65 72 | 65 20 74 68 65 50 69 63 |ta, wher|e thePic|
|00004180| 74 20 69 73 20 6f 66 20 | 74 79 70 65 20 50 69 63 |t is of |type Pic|
|00004190| 48 61 6e 64 6c 65 2e 20 | 20 57 68 65 6e 20 49 20 |Handle. | When I |
|000041a0| 74 72 79 0d 61 6e 64 20 | 6c 6f 6f 6b 20 61 74 20 |try.and |look at |
|000041b0| 74 68 69 73 20 66 69 6c | 65 20 75 73 69 6e 67 20 |this fil|e using |
|000041c0| 50 68 6f 74 6f 73 68 6f | 70 20 69 74 20 74 65 6c |Photosho|p it tel|
|000041d0| 6c 73 20 6d 65 20 74 68 | 65 72 65 20 69 73 20 61 |ls me th|ere is a|
|000041e0| 20 70 72 6f 62 6c 65 6d | 0d 72 65 61 64 69 6e 67 | problem|.reading|
|000041f0| 20 74 68 69 73 20 66 69 | 6c 65 2e 20 20 57 68 61 | this fi|le. Wha|
|00004200| 74 20 61 6d 20 49 20 64 | 6f 69 6e 67 20 77 72 6f |t am I d|oing wro|
|00004210| 6e 67 3f 0d 0d 20 20 41 | 6e 79 20 68 65 6c 70 20 |ng?.. A|ny help |
|00004220| 77 6f 75 6c 64 20 62 65 | 20 67 72 65 61 74 6c 79 |would be| greatly|
|00004230| 20 61 70 70 72 65 63 69 | 61 74 65 64 2e 0d 0d 0d | appreci|ated....|
|00004240| 54 68 61 6e 6b 73 20 69 | 6e 20 61 64 76 61 6e 63 |Thanks i|n advanc|
|00004250| 65 2c 0d 0d 41 6e 64 79 | 0d 0d 2d 2d 20 0d 20 20 |e,..Andy|..-- . |
|00004260| 41 6e 64 72 65 77 20 4a | 2e 20 47 72 65 65 6e 73 |Andrew J|. Greens|
|00004270| 68 69 65 6c 64 73 20 4e | 33 49 47 53 20 20 20 20 |hields N|3IGS |
|00004280| 7c 20 20 53 6f 6d 65 20 | 70 65 6f 70 6c 65 20 63 || Some |people c|
|00004290| 61 6e 20 74 65 6c 6c 20 | 77 68 61 74 20 74 69 6d |an tell |what tim|
|000042a0| 65 20 69 74 20 69 73 20 | 62 79 0d 20 20 61 6e 64 |e it is |by. and|
|000042b0| 79 40 63 73 2e 63 6c 65 | 6d 73 6f 6e 2e 65 64 75 |y@cs.cle|mson.edu|
|000042c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | |
|000042d0| 6c 6f 6f 6b 69 6e 67 20 | 61 74 20 74 68 65 20 53 |looking |at the S|
|000042e0| 75 6e 2c 20 62 75 74 20 | 49 20 68 61 76 65 20 6e |un, but |I have n|
|000042f0| 65 76 65 72 20 62 65 65 | 6e 0d 20 20 55 53 50 41 |ever bee|n. USPA|
|00004300| 20 43 2d 32 34 33 39 33 | 20 20 20 20 20 20 20 20 | C-24393| |
|00004310| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 61 | | | a|
|00004320| 62 6c 65 20 74 6f 20 6d | 61 6b 65 20 6f 75 74 20 |ble to m|ake out |
|00004330| 74 68 65 20 6e 75 6d 62 | 65 72 73 2e 0d 2d 20 2d |the numb|ers..- -|
|00004340| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004350| 2d 2d 2d 2d 2a 2a 2a 53 | 54 41 4e 44 41 52 44 20 |----***S|TANDARD |
|00004360| 44 49 53 43 4c 41 49 4d | 45 52 53 20 41 50 50 4c |DISCLAIM|ERS APPL|
|00004370| 59 2a 2a 2a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |Y***----|--------|
|00004380| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 2b 2b |--------|----..++|
|00004390| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000043a0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 0d 0d 3e 46 72 6f 6d |++++++++|+..>From|
|000043b0| 20 62 6c 6d 40 63 6f 68 | 6f 2e 68 61 6c 63 79 6f | blm@coh|o.halcyo|
|000043c0| 6e 2e 63 6f 6d 20 28 42 | 72 69 61 6e 20 4c 2e 20 |n.com (B|rian L. |
|000043d0| 4d 61 74 74 68 65 77 73 | 29 0d 44 61 74 65 3a 20 |Matthews|).Date: |
|000043e0| 31 36 20 4e 6f 76 20 31 | 39 39 34 20 31 38 3a 31 |16 Nov 1|994 18:1|
|000043f0| 34 3a 30 38 20 47 4d 54 | 0d 4f 72 67 61 6e 69 7a |4:08 GMT|.Organiz|
|00004400| 61 74 69 6f 6e 3a 20 4e | 57 4e 45 58 55 53 2c 20 |ation: N|WNEXUS, |
|00004410| 49 6e 63 2e 20 2d 20 4d | 61 6b 69 6e 67 20 49 6e |Inc. - M|aking In|
|00004420| 74 65 72 6e 65 74 20 45 | 61 73 79 0d 0d 49 6e 20 |ternet E|asy..In |
|00004430| 61 72 74 69 63 6c 65 20 | 3c 33 61 62 6b 6a 68 24 |article |<3abkjh$|
|00004440| 35 6a 6d 40 68 75 62 63 | 61 70 2e 63 6c 65 6d 73 |5jm@hubc|ap.clems|
|00004450| 6f 6e 2e 65 64 75 3e 2c | 0d 41 6e 64 72 65 77 20 |on.edu>,|.Andrew |
|00004460| 47 72 65 65 6e 73 68 69 | 65 6c 64 73 20 3c 61 6e |Greenshi|elds <an|
|00004470| 64 79 40 64 69 6a 6b 73 | 74 72 61 2e 63 73 2e 63 |dy@dijks|tra.cs.c|
|00004480| 6c 65 6d 73 6f 6e 2e 65 | 64 75 3e 20 77 72 6f 74 |lemson.e|du> wrot|
|00004490| 65 3a 0d 7c 20 49 20 61 | 6d 20 75 73 69 6e 67 20 |e:.| I a|m using |
|000044a0| 47 65 74 48 61 6e 64 6c | 65 53 69 7a 65 20 74 6f |GetHandl|eSize to|
|000044b0| 20 66 69 6e 64 20 6f 75 | 74 20 68 6f 77 20 62 69 | find ou|t how bi|
|000044c0| 67 20 74 68 65 20 50 49 | 43 54 20 69 73 20 61 6e |g the PI|CT is an|
|000044d0| 64 20 74 68 65 6e 20 49 | 0d 7c 61 6d 20 75 73 69 |d then I|.|am usi|
|000044e0| 6e 67 20 53 46 57 72 69 | 74 65 20 74 6f 20 77 72 |ng SFWri|te to wr|
|000044f0| 69 74 65 20 74 68 65 20 | 64 61 74 61 20 74 6f 20 |ite the |data to |
|00004500| 61 20 66 69 6c 65 2e 0d | 0d 41 20 50 49 43 54 20 |a file..|.A PICT |
|00004510| 66 69 6c 65 20 73 74 61 | 72 74 73 20 77 69 74 68 |file sta|rts with|
|00004520| 20 61 20 35 31 32 2d 62 | 79 74 65 20 68 65 61 64 | a 512-b|yte head|
|00004530| 65 72 20 62 65 66 6f 72 | 65 20 74 68 65 20 61 63 |er befor|e the ac|
|00004540| 74 75 61 6c 20 50 49 43 | 54 20 64 61 74 61 2e 0d |tual PIC|T data..|
|00004550| 54 68 69 73 20 68 65 61 | 64 65 72 20 69 73 20 66 |This hea|der is f|
|00004560| 6f 72 20 75 73 65 20 62 | 79 20 61 70 70 6c 69 63 |or use b|y applic|
|00004570| 61 74 69 6f 6e 73 2c 20 | 61 6e 64 20 61 73 20 66 |ations, |and as f|
|00004580| 61 72 20 61 73 20 49 20 | 6b 6e 6f 77 2c 20 74 68 |ar as I |know, th|
|00004590| 65 72 65 20 61 72 65 6e | 27 74 0d 61 6e 79 20 73 |ere aren|'t.any s|
|000045a0| 74 61 6e 64 61 72 64 73 | 20 66 6f 72 20 77 68 61 |tandards| for wha|
|000045b0| 74 20 67 6f 65 73 20 69 | 6e 20 74 68 65 72 65 2c |t goes i|n there,|
|000045c0| 20 65 78 63 65 70 74 20 | 6f 6e 65 2e 20 20 49 66 | except |one. If|
|000045d0| 20 69 74 27 73 20 61 6c | 6c 20 7a 65 72 6f 65 73 | it's al|l zeroes|
|000045e0| 2c 0d 79 6f 75 27 72 65 | 20 66 69 6e 65 2e 20 20 |,.you're| fine. |
|000045f0| 53 6f 2c 20 62 65 66 6f | 72 65 20 63 61 6c 6c 69 |So, befo|re calli|
|00004600| 6e 67 20 46 53 57 72 69 | 74 65 20 74 6f 20 70 75 |ng FSWri|te to pu|
|00004610| 74 20 74 68 65 20 70 69 | 63 74 75 72 65 20 64 61 |t the pi|cture da|
|00004620| 74 61 20 69 6e 20 74 68 | 65 0d 66 69 6c 65 2c 20 |ta in th|e.file, |
|00004630| 64 6f 20 61 3a 0d 0d 20 | 20 20 20 65 72 72 20 3d |do a:.. | err =|
|00004640| 20 53 65 74 46 50 6f 73 | 20 28 66 52 65 66 4e 75 | SetFPos| (fRefNu|
|00004650| 6d 2c 20 31 2c 20 35 31 | 32 29 3b 0d 0d 49 66 20 |m, 1, 51|2);..If |
|00004660| 79 6f 75 27 76 65 20 6a | 75 73 74 20 63 72 65 61 |you've j|ust crea|
|00004670| 74 65 64 20 74 68 65 20 | 66 69 6c 65 2c 20 74 68 |ted the |file, th|
|00004680| 69 73 20 77 69 6c 6c 20 | 65 66 66 65 63 74 69 76 |is will |effectiv|
|00004690| 65 6c 79 20 70 75 74 20 | 35 31 32 20 30 73 20 61 |ely put |512 0s a|
|000046a0| 74 0d 74 68 65 20 73 74 | 61 72 74 20 6f 66 20 74 |t.the st|art of t|
|000046b0| 68 65 20 66 69 6c 65 2e | 20 20 4e 6f 74 65 20 74 |he file.| Note t|
|000046c0| 68 61 74 20 69 66 20 79 | 6f 75 27 72 65 20 77 72 |hat if y|ou're wr|
|000046d0| 69 74 69 6e 67 20 74 6f | 20 61 6e 20 65 78 69 73 |iting to| an exis|
|000046e0| 74 69 6e 67 20 66 69 6c | 65 2c 0d 79 6f 75 20 6d |ting fil|e,.you m|
|000046f0| 61 79 20 61 63 74 75 61 | 6c 6c 79 20 68 61 76 65 |ay actua|lly have|
|00004700| 20 74 6f 20 64 6f 20 61 | 6e 20 46 53 57 72 69 74 | to do a|n FSWrit|
|00004710| 65 20 6f 66 20 35 31 32 | 20 30 73 20 74 6f 20 65 |e of 512| 0s to e|
|00004720| 6e 73 75 72 65 20 74 68 | 65 79 27 72 65 20 74 68 |nsure th|ey're th|
|00004730| 65 72 65 2e 0d 0d 42 72 | 69 61 6e 0d 2d 2d 0d 42 |ere...Br|ian.--.B|
|00004740| 72 69 61 6e 20 4c 2e 20 | 4d 61 74 74 68 65 77 73 |rian L. |Matthews|
|00004750| 09 09 09 09 09 62 6c 6d | 40 68 61 6c 63 79 6f 6e |.....blm|@halcyon|
|00004760| 2e 63 6f 6d 0d 20 20 22 | 4c 6f 6f 6b 20 70 61 73 |.com. "|Look pas|
|00004770| 74 20 74 68 65 20 67 68 | 6f 73 74 20 74 68 61 74 |t the gh|ost that|
|00004780| 20 68 69 64 65 73 20 48 | 65 6c 6c 27 73 20 74 72 | hides H|ell's tr|
|00004790| 65 61 73 75 72 65 73 2e | 22 20 2d 53 6b 79 20 43 |easures.|" -Sky C|
|000047a0| 72 69 65 73 20 4d 61 72 | 79 0d 0d 2b 2b 2b 2b 2b |ries Mar|y..+++++|
|000047b0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000047c0| 2b 2b 2b 2b 2b 2b 0d 0d | 3e 46 72 6f 6d 20 6c 64 |++++++..|>From ld|
|000047d0| 6f 40 77 61 69 6b 61 74 | 6f 2e 61 63 2e 6e 7a 20 |o@waikat|o.ac.nz |
|000047e0| 28 4c 61 77 72 65 6e 63 | 65 20 44 27 4f 6c 69 76 |(Lawrenc|e D'Oliv|
|000047f0| 65 69 72 6f 2c 20 57 61 | 69 6b 61 74 6f 20 55 6e |eiro, Wa|ikato Un|
|00004800| 69 76 65 72 73 69 74 79 | 29 0d 44 61 74 65 3a 20 |iversity|).Date: |
|00004810| 31 37 20 4e 6f 76 20 39 | 34 20 31 36 3a 35 39 3a |17 Nov 9|4 16:59:|
|00004820| 30 37 20 2b 31 33 30 30 | 0d 4f 72 67 61 6e 69 7a |07 +1300|.Organiz|
|00004830| 61 74 69 6f 6e 3a 20 55 | 6e 69 76 65 72 73 69 74 |ation: U|niversit|
|00004840| 79 20 6f 66 20 57 61 69 | 6b 61 74 6f 2c 20 48 61 |y of Wai|kato, Ha|
|00004850| 6d 69 6c 74 6f 6e 2c 20 | 4e 65 77 20 5a 65 61 6c |milton, |New Zeal|
|00004860| 61 6e 64 0d 0d 49 6e 20 | 61 72 74 69 63 6c 65 20 |and..In |article |
|00004870| 3c 33 61 64 69 35 67 24 | 71 65 64 40 6e 65 77 73 |<3adi5g$|qed@news|
|00004880| 2e 68 61 6c 63 79 6f 6e | 2e 63 6f 6d 3e 2c 20 62 |.halcyon|.com>, b|
|00004890| 6c 6d 40 63 6f 68 6f 2e | 68 61 6c 63 79 6f 6e 2e |lm@coho.|halcyon.|
|000048a0| 63 6f 6d 20 28 42 72 69 | 61 6e 20 4c 2e 20 4d 61 |com (Bri|an L. Ma|
|000048b0| 74 74 68 65 77 73 29 20 | 77 72 69 74 65 73 3a 0d |tthews) |writes:.|
|000048c0| 3e 0d 3e 20 41 20 50 49 | 43 54 20 66 69 6c 65 20 |>.> A PI|CT file |
|000048d0| 73 74 61 72 74 73 20 77 | 69 74 68 20 61 20 35 31 |starts w|ith a 51|
|000048e0| 32 2d 62 79 74 65 20 68 | 65 61 64 65 72 20 62 65 |2-byte h|eader be|
|000048f0| 66 6f 72 65 20 74 68 65 | 20 61 63 74 75 61 6c 20 |fore the| actual |
|00004900| 50 49 43 54 20 64 61 74 | 61 2e 0d 3e 20 54 68 69 |PICT dat|a..> Thi|
|00004910| 73 20 68 65 61 64 65 72 | 20 69 73 20 66 6f 72 20 |s header| is for |
|00004920| 75 73 65 20 62 79 20 61 | 70 70 6c 69 63 61 74 69 |use by a|pplicati|
|00004930| 6f 6e 73 2c 20 61 6e 64 | 20 61 73 20 66 61 72 20 |ons, and| as far |
|00004940| 61 73 20 49 20 6b 6e 6f | 77 2c 20 74 68 65 72 65 |as I kno|w, there|
|00004950| 20 61 72 65 6e 27 74 0d | 3e 20 61 6e 79 20 73 74 | aren't.|> any st|
|00004960| 61 6e 64 61 72 64 73 20 | 66 6f 72 20 77 68 61 74 |andards |for what|
|00004970| 20 67 6f 65 73 20 69 6e | 20 74 68 65 72 65 2c 20 | goes in| there, |
|00004980| 65 78 63 65 70 74 20 6f | 6e 65 2e 20 20 49 66 20 |except o|ne. If |
|00004990| 69 74 27 73 20 61 6c 6c | 20 7a 65 72 6f 65 73 2c |it's all| zeroes,|
|000049a0| 0d 3e 20 79 6f 75 27 72 | 65 20 66 69 6e 65 2e 20 |.> you'r|e fine. |
|000049b0| 20 53 6f 2c 20 62 65 66 | 6f 72 65 20 63 61 6c 6c | So, bef|ore call|
|000049c0| 69 6e 67 20 46 53 57 72 | 69 74 65 20 74 6f 20 70 |ing FSWr|ite to p|
|000049d0| 75 74 20 74 68 65 20 70 | 69 63 74 75 72 65 20 64 |ut the p|icture d|
|000049e0| 61 74 61 20 69 6e 20 74 | 68 65 0d 3e 20 66 69 6c |ata in t|he.> fil|
|000049f0| 65 2c 20 64 6f 20 61 3a | 0d 3e 0d 3e 20 20 20 20 |e, do a:|.>.> |
|00004a00| 20 65 72 72 20 3d 20 53 | 65 74 46 50 6f 73 20 28 | err = S|etFPos (|
|00004a10| 66 52 65 66 4e 75 6d 2c | 20 31 2c 20 35 31 32 29 |fRefNum,| 1, 512)|
|00004a20| 3b 0d 3e 0d 3e 20 49 66 | 20 79 6f 75 27 76 65 20 |;.>.> If| you've |
|00004a30| 6a 75 73 74 20 63 72 65 | 61 74 65 64 20 74 68 65 |just cre|ated the|
|00004a40| 20 66 69 6c 65 2c 20 74 | 68 69 73 20 77 69 6c 6c | file, t|his will|
|00004a50| 20 65 66 66 65 63 74 69 | 76 65 6c 79 20 70 75 74 | effecti|vely put|
|00004a60| 20 35 31 32 20 30 73 20 | 61 74 0d 3e 20 74 68 65 | 512 0s |at.> the|
|00004a70| 20 73 74 61 72 74 20 6f | 66 20 74 68 65 20 66 69 | start o|f the fi|
|00004a80| 6c 65 2e 0d 0d 4e 6f 2c | 20 69 74 20 77 69 6c 6c |le...No,| it will|
|00004a90| 20 6e 6f 74 2e 20 59 6f | 75 20 6d 75 73 74 20 65 | not. Yo|u must e|
|00004aa0| 78 70 6c 69 63 69 74 6c | 79 20 77 72 69 74 65 20 |xplicitl|y write |
|00004ab0| 35 31 32 20 62 79 74 65 | 73 20 6f 66 20 7a 65 72 |512 byte|s of zer|
|00004ac0| 6f 65 73 20 69 6e 20 61 | 6c 6c 20 63 61 73 65 73 |oes in a|ll cases|
|00004ad0| 2e 0d 0d 4c 61 77 72 65 | 6e 63 65 20 44 27 4f 6c |...Lawre|nce D'Ol|
|00004ae0| 69 76 65 69 72 6f 20 20 | 20 20 20 20 20 20 20 20 |iveiro | |
|00004af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 6f 6e | | fon|
|00004b00| 65 3a 20 2b 36 34 2d 37 | 2d 38 35 36 2d 32 38 38 |e: +64-7|-856-288|
|00004b10| 39 0d 43 6f 6d 70 75 74 | 65 72 20 53 65 72 76 69 |9.Comput|er Servi|
|00004b20| 63 65 73 20 44 65 70 74 | 20 20 20 20 20 20 20 20 |ces Dept| |
|00004b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 61 78 | | fax|
|00004b40| 3a 20 2b 36 34 2d 37 2d | 38 33 38 2d 34 30 36 36 |: +64-7-|838-4066|
|00004b50| 0d 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 57 |.Univers|ity of W|
|00004b60| 61 69 6b 61 74 6f 20 20 | 20 20 20 20 20 20 20 20 |aikato | |
|00004b70| 20 20 65 6c 65 63 74 72 | 69 63 20 6d 61 69 6c 3a | electr|ic mail:|
|00004b80| 20 6c 64 6f 40 77 61 69 | 6b 61 74 6f 2e 61 63 2e | ldo@wai|kato.ac.|
|00004b90| 6e 7a 0d 48 61 6d 69 6c | 74 6f 6e 2c 20 4e 65 77 |nz.Hamil|ton, New|
|00004ba0| 20 5a 65 61 6c 61 6e 64 | 20 20 20 20 33 37 5e 20 | Zealand| 37^ |
|00004bb0| 34 37 27 20 32 36 22 20 | 53 2c 20 31 37 35 5e 20 |47' 26" |S, 175^ |
|00004bc0| 31 39 27 20 37 22 20 45 | 2c 20 47 4d 54 2b 31 33 |19' 7" E|, GMT+13|
|00004bd0| 3a 30 30 0d 0d 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |:00..+++|++++++++|
|00004be0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004bf0| 0d 0d 3e 46 72 6f 6d 20 | 62 6c 6d 40 63 68 69 6e |..>From |blm@chin|
|00004c00| 6f 6f 6b 2e 68 61 6c 63 | 79 6f 6e 2e 63 6f 6d 20 |ook.halc|yon.com |
|00004c10| 28 42 72 69 61 6e 20 4c | 2e 20 4d 61 74 74 68 65 |(Brian L|. Matthe|
|00004c20| 77 73 29 0d 44 61 74 65 | 3a 20 31 37 20 4e 6f 76 |ws).Date|: 17 Nov|
|00004c30| 20 31 39 39 34 20 31 38 | 3a 32 36 3a 35 34 20 47 | 1994 18|:26:54 G|
|00004c40| 4d 54 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|00004c50| 20 4e 57 4e 45 58 55 53 | 2c 20 49 6e 63 2e 20 2d | NWNEXUS|, Inc. -|
|00004c60| 20 4d 61 6b 69 6e 67 20 | 49 6e 74 65 72 6e 65 74 | Making |Internet|
|00004c70| 20 45 61 73 79 0d 0d 49 | 6e 20 61 72 74 69 63 6c | Easy..I|n articl|
|00004c80| 65 20 3c 31 39 39 34 4e | 6f 76 31 37 2e 31 36 35 |e <1994N|ov17.165|
|00004c90| 39 30 37 2e 33 35 33 37 | 31 40 77 61 69 6b 61 74 |907.3537|1@waikat|
|00004ca0| 6f 2e 61 63 2e 6e 7a 3e | 2c 0d 4c 61 77 72 65 6e |o.ac.nz>|,.Lawren|
|00004cb0| 63 65 20 44 27 4f 6c 69 | 76 65 69 72 6f 2c 20 57 |ce D'Oli|veiro, W|
|00004cc0| 61 69 6b 61 74 6f 20 55 | 6e 69 76 65 72 73 69 74 |aikato U|niversit|
|00004cd0| 79 20 3c 6c 64 6f 40 77 | 61 69 6b 61 74 6f 2e 61 |y <ldo@w|aikato.a|
|00004ce0| 63 2e 6e 7a 3e 20 77 72 | 6f 74 65 3a 0d 7c 3e 20 |c.nz> wr|ote:.|> |
|00004cf0| 20 20 20 20 65 72 72 20 | 3d 20 53 65 74 46 50 6f | err |= SetFPo|
|00004d00| 73 20 28 66 52 65 66 4e | 75 6d 2c 20 31 2c 20 35 |s (fRefN|um, 1, 5|
|00004d10| 31 32 29 3b 0d 7c 3e 20 | 49 66 20 79 6f 75 27 76 |12);.|> |If you'v|
|00004d20| 65 20 6a 75 73 74 20 63 | 72 65 61 74 65 64 20 74 |e just c|reated t|
|00004d30| 68 65 20 66 69 6c 65 2c | 20 74 68 69 73 20 77 69 |he file,| this wi|
|00004d40| 6c 6c 20 65 66 66 65 63 | 74 69 76 65 6c 79 20 70 |ll effec|tively p|
|00004d50| 75 74 20 35 31 32 20 30 | 73 20 61 74 0d 7c 3e 20 |ut 512 0|s at.|> |
|00004d60| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 74 68 65 |the star|t of the|
|00004d70| 20 66 69 6c 65 2e 0d 7c | 4e 6f 2c 20 69 74 20 77 | file..||No, it w|
|00004d80| 69 6c 6c 20 6e 6f 74 2e | 20 59 6f 75 20 6d 75 73 |ill not.| You mus|
|00004d90| 74 20 65 78 70 6c 69 63 | 69 74 6c 79 20 77 72 69 |t explic|itly wri|
|00004da0| 74 65 20 35 31 32 20 62 | 79 74 65 73 20 6f 66 20 |te 512 b|ytes of |
|00004db0| 7a 65 72 6f 65 73 20 69 | 6e 20 61 6c 6c 20 63 61 |zeroes i|n all ca|
|00004dc0| 73 65 73 2e 0d 0d 41 72 | 67 68 2e 20 20 4c 61 77 |ses...Ar|gh. Law|
|00004dd0| 72 65 6e 63 65 20 69 73 | 2c 20 6f 66 20 63 6f 75 |rence is|, of cou|
|00004de0| 72 73 65 2c 20 61 62 73 | 6f 6c 75 74 65 6c 79 20 |rse, abs|olutely |
|00004df0| 72 69 67 68 74 2e 20 20 | 49 20 61 6c 77 61 79 73 |right. |I always|
|00004e00| 20 73 65 65 6d 20 74 6f | 20 67 65 74 0d 55 6e 69 | seem to| get.Uni|
|00004e10| 78 20 61 6e 64 20 74 68 | 65 20 4d 61 63 20 63 6f |x and th|e Mac co|
|00004e20| 6e 66 75 73 65 64 20 69 | 6e 20 63 61 73 65 73 20 |nfused i|n cases |
|00004e30| 6c 69 6b 65 20 74 68 69 | 73 2e 20 20 41 6e 79 77 |like thi|s. Anyw|
|00004e40| 61 79 2c 20 49 20 77 61 | 73 20 61 63 74 75 61 6c |ay, I wa|s actual|
|00004e50| 6c 79 0d 77 72 6f 6e 67 | 20 74 77 69 63 65 2e 20 |ly.wrong| twice. |
|00004e60| 20 46 69 72 73 74 2c 20 | 53 65 74 46 50 6f 73 20 | First, |SetFPos |
|00004e70| 77 69 6c 6c 20 66 61 69 | 6c 20 69 66 20 79 6f 75 |will fai|l if you|
|00004e80| 20 61 74 74 65 6d 70 74 | 20 74 6f 20 73 65 74 20 | attempt| to set |
|00004e90| 74 68 65 20 66 69 6c 65 | 0d 70 6f 73 69 74 69 6f |the file|.positio|
|00004ea0| 6e 20 62 65 79 6f 6e 64 | 20 74 68 65 20 65 6e 64 |n beyond| the end|
|00004eb0| 20 6f 66 20 66 69 6c 65 | 2e 20 20 41 6e 64 20 73 | of file|. And s|
|00004ec0| 65 63 6f 6e 64 2c 20 69 | 66 20 79 6f 75 20 75 73 |econd, i|f you us|
|00004ed0| 65 20 53 65 74 45 4f 46 | 20 62 65 66 6f 72 65 0d |e SetEOF| before.|
|00004ee0| 74 68 65 20 53 65 74 46 | 50 6f 73 2c 20 69 74 20 |the SetF|Pos, it |
|00004ef0| 64 6f 65 73 6e 27 74 20 | 66 69 6c 6c 20 77 69 74 |doesn't |fill wit|
|00004f00| 68 20 30 73 2e 20 20 53 | 6f 20 77 68 69 6c 65 20 |h 0s. S|o while |
|00004f10| 49 20 77 61 73 20 72 69 | 67 68 74 20 61 62 6f 75 |I was ri|ght abou|
|00004f20| 74 20 6e 65 65 64 69 6e | 67 0d 74 68 65 20 35 31 |t needin|g.the 51|
|00004f30| 32 20 30 73 2c 20 49 20 | 73 63 72 65 77 65 64 20 |2 0s, I |screwed |
|00004f40| 75 70 20 68 6f 77 20 74 | 6f 20 67 65 74 20 74 68 |up how t|o get th|
|00004f50| 65 6d 20 74 68 65 72 65 | 2e 20 3a 2d 29 0d 0d 42 |em there|. :-)..B|
|00004f60| 72 69 61 6e 0d 2d 2d 0d | 42 72 69 61 6e 20 4c 2e |rian.--.|Brian L.|
|00004f70| 20 4d 61 74 74 68 65 77 | 73 09 09 09 09 09 62 6c | Matthew|s.....bl|
|00004f80| 6d 40 68 61 6c 63 79 6f | 6e 2e 63 6f 6d 0d 20 20 |m@halcyo|n.com. |
|00004f90| 22 4c 6f 6f 6b 20 70 61 | 73 74 20 74 68 65 20 67 |"Look pa|st the g|
|00004fa0| 68 6f 73 74 20 74 68 61 | 74 20 68 69 64 65 73 20 |host tha|t hides |
|00004fb0| 48 65 6c 6c 27 73 20 74 | 72 65 61 73 75 72 65 73 |Hell's t|reasures|
|00004fc0| 2e 22 20 2d 53 6b 79 20 | 43 72 69 65 73 20 4d 61 |." -Sky |Cries Ma|
|00004fd0| 72 79 0d 0d 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |ry..++++|++++++++|
|00004fe0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 0d |++++++++|+++++++.|
|00004ff0| 0d 3e 46 72 6f 6d 20 61 | 6e 64 79 40 64 69 6a 6b |.>From a|ndy@dijk|
|00005000| 73 74 72 61 2e 63 73 2e | 63 6c 65 6d 73 6f 6e 2e |stra.cs.|clemson.|
|00005010| 65 64 75 20 28 41 6e 64 | 72 65 77 20 47 72 65 65 |edu (And|rew Gree|
|00005020| 6e 73 68 69 65 6c 64 73 | 29 0d 44 61 74 65 3a 20 |nshields|).Date: |
|00005030| 31 38 20 4e 6f 76 20 31 | 39 39 34 20 30 31 3a 33 |18 Nov 1|994 01:3|
|00005040| 32 3a 30 34 20 47 4d 54 | 0d 4f 72 67 61 6e 69 7a |2:04 GMT|.Organiz|
|00005050| 61 74 69 6f 6e 3a 20 43 | 6c 65 6d 73 6f 6e 20 55 |ation: C|lemson U|
|00005060| 6e 69 76 65 72 73 69 74 | 79 0d 0d 49 6e 20 61 72 |niversit|y..In ar|
|00005070| 74 69 63 6c 65 20 3c 33 | 61 67 37 39 65 24 32 76 |ticle <3|ag79e$2v|
|00005080| 6a 40 6e 65 77 73 2e 68 | 61 6c 63 79 6f 6e 2e 63 |j@news.h|alcyon.c|
|00005090| 6f 6d 3e 20 62 6c 6d 40 | 63 68 69 6e 6f 6f 6b 2e |om> blm@|chinook.|
|000050a0| 68 61 6c 63 79 6f 6e 2e | 63 6f 6d 20 28 42 72 69 |halcyon.|com (Bri|
|000050b0| 61 6e 20 4c 2e 20 4d 61 | 74 74 68 65 77 73 29 20 |an L. Ma|tthews) |
|000050c0| 77 72 69 74 65 73 3a 0d | 3e 49 6e 20 61 72 74 69 |writes:.|>In arti|
|000050d0| 63 6c 65 20 3c 31 39 39 | 34 4e 6f 76 31 37 2e 31 |cle <199|4Nov17.1|
|000050e0| 36 35 39 30 37 2e 33 35 | 33 37 31 40 77 61 69 6b |65907.35|371@waik|
|000050f0| 61 74 6f 2e 61 63 2e 6e | 7a 3e 2c 0d 3e 4c 61 77 |ato.ac.n|z>,.>Law|
|00005100| 72 65 6e 63 65 20 44 27 | 4f 6c 69 76 65 69 72 6f |rence D'|Oliveiro|
|00005110| 2c 20 57 61 69 6b 61 74 | 6f 20 55 6e 69 76 65 72 |, Waikat|o Univer|
|00005120| 73 69 74 79 20 3c 6c 64 | 6f 40 77 61 69 6b 61 74 |sity <ld|o@waikat|
|00005130| 6f 2e 61 63 2e 6e 7a 3e | 20 77 72 6f 74 65 3a 0d |o.ac.nz>| wrote:.|
|00005140| 0d 20 20 54 68 61 6e 6b | 79 6f 75 20 62 6f 74 68 |. Thank|you both|
|00005150| 2c 20 49 20 63 61 6e 20 | 6e 6f 77 20 73 75 63 63 |, I can |now succ|
|00005160| 65 73 73 66 75 6c 6c 79 | 20 73 61 76 65 20 6d 79 |essfully| save my|
|00005170| 20 50 49 43 54 73 20 74 | 6f 20 66 69 6c 65 73 21 | PICTs t|o files!|
|00005180| 0d 0d 41 6e 64 79 0d 0d | 0d 2d 2d 20 0d 20 20 41 |..Andy..|.-- . A|
|00005190| 6e 64 72 65 77 20 4a 2e | 20 47 72 65 65 6e 73 68 |ndrew J.| Greensh|
|000051a0| 69 65 6c 64 73 20 4e 33 | 49 47 53 20 20 20 20 7c |ields N3|IGS ||
|000051b0| 20 20 53 6f 6d 65 20 70 | 65 6f 70 6c 65 20 63 61 | Some p|eople ca|
|000051c0| 6e 20 74 65 6c 6c 20 77 | 68 61 74 20 74 69 6d 65 |n tell w|hat time|
|000051d0| 20 69 74 20 69 73 20 62 | 79 0d 20 20 61 6e 64 79 | it is b|y. andy|
|000051e0| 40 63 73 2e 63 6c 65 6d | 73 6f 6e 2e 65 64 75 20 |@cs.clem|son.edu |
|000051f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 6c | | | l|
|00005200| 6f 6f 6b 69 6e 67 20 61 | 74 20 74 68 65 20 53 75 |ooking a|t the Su|
|00005210| 6e 2c 20 62 75 74 20 49 | 20 68 61 76 65 20 6e 65 |n, but I| have ne|
|00005220| 76 65 72 20 62 65 65 6e | 0d 20 20 55 53 50 41 20 |ver been|. USPA |
|00005230| 43 2d 32 34 33 39 33 20 | 20 20 20 20 20 20 20 20 |C-24393 | |
|00005240| 20 20 20 20 20 20 20 20 | 20 20 20 7c 20 20 61 62 | | | ab|
|00005250| 6c 65 20 74 6f 20 6d 61 | 6b 65 20 6f 75 74 20 74 |le to ma|ke out t|
|00005260| 68 65 20 6e 75 6d 62 65 | 72 73 2e 0d 2d 20 2d 2d |he numbe|rs..- --|
|00005270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005280| 2d 2d 2d 2a 2a 2a 53 54 | 41 4e 44 41 52 44 20 44 |---***ST|ANDARD D|
|00005290| 49 53 43 4c 41 49 4d 45 | 52 53 20 41 50 50 4c 59 |ISCLAIME|RS APPLY|
|000052a0| 2a 2a 2a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |***-----|--------|
|000052b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 2b 2b 2b |--------|---..+++|
|000052c0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000052d0| 2b 2b 2b 2b 2b 2b 2b 2b | 0d 0d 3e 46 72 6f 6d 20 |++++++++|..>From |
|000052e0| 72 6f 6c 6c 69 6e 40 6e | 65 77 74 6f 6e 2e 61 70 |rollin@n|ewton.ap|
|000052f0| 70 6c 65 2e 63 6f 6d 20 | 28 4b 65 69 74 68 20 52 |ple.com |(Keith R|
|00005300| 6f 6c 6c 69 6e 29 0d 44 | 61 74 65 3a 20 53 75 6e |ollin).D|ate: Sun|
|00005310| 2c 20 32 30 20 4e 6f 76 | 20 31 39 39 34 20 32 32 |, 20 Nov| 1994 22|
|00005320| 3a 35 36 3a 30 38 20 2d | 30 38 30 30 0d 4f 72 67 |:56:08 -|0800.Org|
|00005330| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 41 70 70 6c 65 |anizatio|n: Apple|
|00005340| 20 5d 5b 20 2d 3e 20 4d | 61 63 20 2d 3e 20 54 61 | ][ -> M|ac -> Ta|
|00005350| 6c 69 67 65 6e 74 20 2d | 3e 20 4e 65 77 74 6f 6e |ligent -|> Newton|
|00005360| 20 2d 3e 20 57 69 6e 64 | 6f 77 73 3f 0d 0d 49 6e | -> Wind|ows?..In|
|00005370| 20 61 72 74 69 63 6c 65 | 20 3c 33 61 62 6b 6a 68 | article| <3abkjh|
|00005380| 24 35 6a 6d 40 68 75 62 | 63 61 70 2e 63 6c 65 6d |$5jm@hub|cap.clem|
|00005390| 73 6f 6e 2e 65 64 75 3e | 2c 20 61 6e 64 79 40 64 |son.edu>|, andy@d|
|000053a0| 69 6a 6b 73 74 72 61 2e | 63 73 2e 63 6c 65 6d 73 |ijkstra.|cs.clems|
|000053b0| 6f 6e 2e 65 64 75 0d 28 | 41 6e 64 72 65 77 20 47 |on.edu.(|Andrew G|
|000053c0| 72 65 65 6e 73 68 69 65 | 6c 64 73 29 20 77 72 6f |reenshie|lds) wro|
|000053d0| 74 65 3a 0d 0d 3e 20 20 | 49 20 68 61 76 65 20 66 |te:..> |I have f|
|000053e0| 69 6e 61 6c 6c 79 20 67 | 6f 74 20 6d 79 20 74 65 |inally g|ot my te|
|000053f0| 78 74 20 66 69 6c 65 20 | 74 6f 20 63 6f 6e 76 65 |xt file |to conve|
|00005400| 72 74 20 74 6f 20 61 20 | 6e 69 63 65 20 69 6e 66 |rt to a |nice inf|
|00005410| 72 61 2d 72 65 64 20 69 | 6d 61 67 65 0d 3e 77 68 |ra-red i|mage.>wh|
|00005420| 69 63 68 20 49 20 6e 6f | 77 20 68 61 76 65 20 69 |ich I no|w have i|
|00005430| 6e 20 74 68 65 20 66 6f | 72 6d 61 74 20 6f 66 20 |n the fo|rmat of |
|00005440| 61 20 50 49 43 54 2e 20 | 20 48 6f 77 65 76 65 72 |a PICT. | However|
|00005450| 2c 20 77 68 65 6e 20 49 | 20 74 72 79 20 74 6f 20 |, when I| try to |
|00005460| 73 61 76 65 0d 3e 74 68 | 69 73 20 50 49 43 54 20 |save.>th|is PICT |
|00005470| 61 73 20 61 20 66 69 6c | 65 20 49 20 61 6d 20 72 |as a fil|e I am r|
|00005480| 75 6e 6e 69 6e 67 20 69 | 6e 74 6f 20 74 72 6f 75 |unning i|nto trou|
|00005490| 62 6c 65 2e 20 20 49 20 | 61 6d 20 75 73 69 6e 67 |ble. I |am using|
|000054a0| 0d 3e 47 65 74 48 61 6e | 64 6c 65 53 69 7a 65 20 |.>GetHan|dleSize |
|000054b0| 74 6f 20 66 69 6e 64 20 | 6f 75 74 20 68 6f 77 20 |to find |out how |
|000054c0| 62 69 67 20 74 68 65 20 | 50 49 43 54 20 69 73 20 |big the |PICT is |
|000054d0| 61 6e 64 20 74 68 65 6e | 20 49 20 61 6d 20 75 73 |and then| I am us|
|000054e0| 69 6e 67 0d 3e 53 46 57 | 72 69 74 65 20 74 6f 20 |ing.>SFW|rite to |
|000054f0| 77 72 69 74 65 20 74 68 | 65 20 64 61 74 61 20 74 |write th|e data t|
|00005500| 6f 20 61 20 66 69 6c 65 | 2e 20 20 49 20 61 6d 20 |o a file|. I am |
|00005510| 75 73 69 6e 67 20 2a 74 | 68 65 50 69 63 74 20 61 |using *t|hePict a|
|00005520| 73 20 74 68 65 0d 3e 70 | 6f 69 6e 74 65 72 20 74 |s the.>p|ointer t|
|00005530| 6f 20 74 68 65 20 64 61 | 74 61 2c 20 77 68 65 72 |o the da|ta, wher|
|00005540| 65 20 74 68 65 50 69 63 | 74 20 69 73 20 6f 66 20 |e thePic|t is of |
|00005550| 74 79 70 65 20 50 69 63 | 48 61 6e 64 6c 65 2e 20 |type Pic|Handle. |
|00005560| 20 57 68 65 6e 20 49 20 | 74 72 79 0d 3e 61 6e 64 | When I |try.>and|
|00005570| 20 6c 6f 6f 6b 20 61 74 | 20 74 68 69 73 20 66 69 | look at| this fi|
|00005580| 6c 65 20 75 73 69 6e 67 | 20 50 68 6f 74 6f 73 68 |le using| Photosh|
|00005590| 6f 70 20 69 74 20 74 65 | 6c 6c 73 20 6d 65 20 74 |op it te|lls me t|
|000055a0| 68 65 72 65 20 69 73 20 | 61 20 70 72 6f 62 6c 65 |here is |a proble|
|000055b0| 6d 0d 3e 72 65 61 64 69 | 6e 67 20 74 68 69 73 20 |m.>readi|ng this |
|000055c0| 66 69 6c 65 2e 20 20 57 | 68 61 74 20 61 6d 20 49 |file. W|hat am I|
|000055d0| 20 64 6f 69 6e 67 20 77 | 72 6f 6e 67 3f 0d 0d 50 | doing w|rong?..P|
|000055e0| 49 43 54 20 66 69 6c 65 | 73 20 62 65 67 69 6e 20 |ICT file|s begin |
|000055f0| 77 69 74 68 20 61 20 35 | 31 32 20 62 79 74 65 20 |with a 5|12 byte |
|00005600| 68 65 61 64 65 72 20 28 | 64 6f 63 75 6d 65 6e 74 |header (|document|
|00005610| 65 64 20 69 6e 20 61 6e | 20 6f 6c 64 20 54 65 63 |ed in an| old Tec|
|00005620| 68 6e 6f 74 65 20 61 6e | 64 0d 69 6e 20 4e 49 4d |hnote an|d.in NIM|
|00005630| 3a 49 6d 61 67 69 6e 67 | 20 77 69 74 68 20 51 75 |:Imaging| with Qu|
|00005640| 69 63 6b 44 72 61 77 29 | 2e 20 59 6f 75 20 64 6f |ickDraw)|. You do|
|00005650| 6e 27 74 20 6d 65 6e 74 | 69 6f 6e 20 74 68 61 74 |n't ment|ion that|
|00005660| 20 79 6f 75 20 61 72 65 | 20 70 72 6f 76 69 64 69 | you are| providi|
|00005670| 6e 67 0d 66 6f 72 20 74 | 68 69 73 20 68 65 61 64 |ng.for t|his head|
|00005680| 65 72 2c 20 73 6f 20 74 | 68 61 74 20 6d 69 67 68 |er, so t|hat migh|
|00005690| 74 20 62 65 20 79 6f 75 | 72 20 70 72 6f 62 6c 65 |t be you|r proble|
|000056a0| 6d 2e 0d 0d 54 68 65 20 | 35 31 32 20 62 79 74 65 |m...The |512 byte|
|000056b0| 20 68 65 61 64 65 72 20 | 69 73 20 66 6f 72 20 61 | header |is for a|
|000056c0| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 64 65 66 69 6e |pplicati|on-defin|
|000056d0| 65 64 20 70 75 72 70 6f | 73 65 73 2e 20 49 66 20 |ed purpo|ses. If |
|000056e0| 79 6f 75 20 64 6f 6e 27 | 74 20 6e 65 65 64 0d 74 |you don'|t need.t|
|000056f0| 6f 20 75 73 65 20 69 74 | 2c 20 79 6f 75 20 73 68 |o use it|, you sh|
|00005700| 6f 75 6c 64 20 63 6c 65 | 61 72 20 69 74 20 6f 75 |ould cle|ar it ou|
|00005710| 74 20 28 73 65 74 20 69 | 74 20 74 6f 20 7a 65 72 |t (set i|t to zer|
|00005720| 6f 29 20 73 6f 20 61 73 | 20 6e 6f 74 20 74 6f 20 |o) so as| not to |
|00005730| 63 6f 6e 66 75 73 65 0d | 61 6e 6f 74 68 65 72 20 |confuse.|another |
|00005740| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 68 61 74 |applicat|ion that|
|00005750| 20 6d 61 79 20 74 72 79 | 20 69 6e 74 65 72 70 72 | may try| interpr|
|00005760| 65 74 69 6e 67 20 69 74 | 2e 0d 0d 2d 20 2d 2d 2d |eting it|...- ---|
|00005770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057b0| 2d 2d 2d 2d 2d 2d 2d 0d | 4b 65 69 74 68 20 52 6f |-------.|Keith Ro|
|000057c0| 6c 6c 69 6e 20 2d 2d 2d | 20 50 68 61 6e 74 6f 6d |llin ---| Phantom|
|000057d0| 20 50 72 6f 67 72 61 6d | 6d 65 72 20 2d 2d 2d 20 | Program|mer --- |
|000057e0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000057f0| 49 6e 63 2e 20 2d 2d 2d | 20 54 65 61 6d 20 4e 65 |Inc. ---| Team Ne|
|00005800| 77 74 6f 6e 0d 22 49 20 | 73 61 79 2c 20 6c 65 74 |wton."I |say, let|
|00005810| 27 73 20 77 72 69 74 65 | 20 22 77 61 63 6b 6f 22 |'s write| "wacko"|
|00005820| 20 6f 6e 20 61 6c 6c 20 | 74 68 65 20 72 6f 63 6b | on all |the rock|
|00005830| 73 20 61 6e 64 20 62 65 | 20 64 6f 6e 65 20 77 69 |s and be| done wi|
|00005840| 74 68 20 69 74 2e 22 0d | 0d 2d 2d 2d 2d 2d 2d 2d |th it.".|.-------|
|00005850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005860| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 69 6e 67 65 |----..>F|rom inge|
|00005870| 6d 61 72 40 6c 79 73 61 | 74 6f 72 2e 6c 69 75 2e |mar@lysa|tor.liu.|
|00005880| 73 65 20 28 49 6e 67 65 | 6d 61 72 20 52 61 67 6e |se (Inge|mar Ragn|
|00005890| 65 6d 61 6c 6d 29 0d 53 | 75 62 6a 65 63 74 3a 20 |emalm).S|ubject: |
|000058a0| 53 70 72 69 74 65 20 41 | 6e 69 6d 61 74 69 6f 6e |Sprite A|nimation|
|000058b0| 20 54 6f 6f 6c 6b 69 74 | 20 32 2e 33 61 31 0d 44 | Toolkit| 2.3a1.D|
|000058c0| 61 74 65 3a 20 31 39 20 | 4e 6f 76 20 31 39 39 34 |ate: 19 |Nov 1994|
|000058d0| 20 31 38 3a 31 32 3a 30 | 36 20 47 4d 54 0d 4f 72 | 18:12:0|6 GMT.Or|
|000058e0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 28 6e 6f 6e |ganizati|on: (non|
|000058f0| 65 29 0d 0d 53 70 72 69 | 74 65 20 41 6e 69 6d 61 |e)..Spri|te Anima|
|00005900| 74 69 6f 6e 20 54 6f 6f | 6c 6b 69 74 20 32 2e 33 |tion Too|lkit 2.3|
|00005910| 2c 20 61 6c 70 68 61 20 | 76 65 72 73 69 6f 6e 20 |, alpha |version |
|00005920| 31 2c 20 69 73 20 6e 6f | 77 20 61 76 61 69 6c 61 |1, is no|w availa|
|00005930| 62 6c 65 20 62 79 0d 66 | 74 70 20 66 72 6f 6d 20 |ble by.f|tp from |
|00005940| 66 74 70 2e 75 75 2e 6e | 65 74 2c 20 69 6e 20 74 |ftp.uu.n|et, in t|
|00005950| 68 65 20 2f 74 6d 70 20 | 64 69 72 65 63 74 6f 72 |he /tmp |director|
|00005960| 79 2c 20 61 73 20 73 61 | 74 32 33 61 31 2e 68 71 |y, as sa|t23a1.hq|
|00005970| 78 2e 20 49 74 20 77 69 | 6c 6c 0d 70 72 6f 62 61 |x. It wi|ll.proba|
|00005980| 62 6c 79 20 6e 6f 74 20 | 72 65 6d 61 69 6e 20 74 |bly not |remain t|
|00005990| 68 65 72 65 20 66 6f 72 | 20 6d 6f 72 65 20 74 68 |here for| more th|
|000059a0| 61 6e 20 61 20 77 65 65 | 6b 2e 0d 0d 53 70 72 69 |an a wee|k...Spri|
|000059b0| 74 65 20 41 6e 69 6d 61 | 74 69 6f 6e 20 54 6f 6f |te Anima|tion Too|
|000059c0| 6c 6b 69 74 20 69 73 20 | 61 20 70 72 6f 67 72 61 |lkit is |a progra|
|000059d0| 6d 6d 69 6e 67 20 6c 69 | 62 72 61 72 79 20 66 6f |mming li|brary fo|
|000059e0| 72 20 6d 61 6b 69 6e 67 | 20 73 70 72 69 74 65 2d |r making| sprite-|
|000059f0| 62 61 73 65 64 0d 61 6e | 69 6d 61 74 69 6f 6e 73 |based.an|imations|
|00005a00| 20 28 65 2e 67 2e 20 67 | 61 6d 65 73 29 2e 20 49 | (e.g. g|ames). I|
|00005a10| 74 20 69 6e 63 6c 75 64 | 65 73 20 61 20 6c 61 72 |t includ|es a lar|
|00005a20| 67 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 64 65 6d |ge numbe|r of dem|
|00005a30| 6f 73 2c 20 72 61 6e 67 | 69 6e 67 20 66 72 6f 6d |os, rang|ing from|
|00005a40| 0d 74 72 69 76 69 61 6c | 6c 79 20 73 69 6d 70 6c |.trivial|ly simpl|
|00005a50| 65 20 74 6f 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |e to a c|omplete |
|00005a60| 67 61 6d 65 2e 20 49 74 | 20 68 61 73 20 62 65 65 |game. It| has bee|
|00005a70| 6e 20 75 73 65 64 20 66 | 6f 72 20 70 72 6f 64 75 |n used f|or produ|
|00005a80| 63 69 6e 67 20 6f 76 65 | 72 0d 61 20 64 6f 7a 65 |cing ove|r.a doze|
|00005a90| 6e 20 72 65 6c 65 61 73 | 65 64 20 67 61 6d 65 73 |n releas|ed games|
|00005aa0| 2e 0d 0d 54 68 69 73 20 | 76 65 72 73 69 6f 6e 20 |...This |version |
|00005ab0| 77 6f 72 6b 73 20 77 69 | 74 68 20 43 6f 64 65 57 |works wi|th CodeW|
|00005ac0| 61 72 72 69 6f 72 20 28 | 50 61 73 63 61 6c 20 6f |arrior (|Pascal o|
|00005ad0| 72 20 43 2c 20 6e 6f 74 | 20 50 50 43 20 79 65 74 |r C, not| PPC yet|
|00005ae0| 29 20 61 73 20 77 65 6c | 6c 0d 61 73 20 74 68 65 |) as wel|l.as the|
|00005af0| 20 54 68 69 6e 6b 20 63 | 6f 6d 70 69 6c 65 72 73 | Think c|ompilers|
|00005b00| 2e 20 28 4e 6f 74 20 4d | 50 57 2e 20 53 6f 72 72 |. (Not M|PW. Sorr|
|00005b10| 79 2e 29 20 53 65 76 65 | 72 61 6c 20 6e 65 77 20 |y.) Seve|ral new |
|00005b20| 66 65 61 74 75 72 65 73 | 20 68 61 76 65 20 62 65 |features| have be|
|00005b30| 65 6e 0d 61 64 64 65 64 | 2c 20 61 6e 64 20 61 20 |en.added|, and a |
|00005b40| 66 65 77 20 63 68 61 6e | 67 65 73 20 68 61 76 65 |few chan|ges have|
|00005b50| 20 62 65 65 6e 20 6d 61 | 64 65 20 74 6f 20 6d 61 | been ma|de to ma|
|00005b60| 6b 65 20 69 74 20 66 61 | 73 74 65 72 2c 20 75 73 |ke it fa|ster, us|
|00005b70| 65 20 6c 65 73 73 0d 6d | 65 6d 6f 72 79 20 61 6e |e less.m|emory an|
|00005b80| 64 20 62 65 20 6d 6f 72 | 65 20 66 6f 6f 6c 70 72 |d be mor|e foolpr|
|00005b90| 6f 6f 66 2e 0d 0d 54 68 | 69 73 20 69 73 20 61 6e |oof...Th|is is an|
|00005ba0| 20 61 6c 70 68 61 20 76 | 65 72 73 69 6f 6e 2e 20 | alpha v|ersion. |
|00005bb0| 49 74 20 69 73 20 6e 6f | 74 20 74 68 6f 72 6f 75 |It is no|t thorou|
|00005bc0| 67 68 6c 79 20 74 65 73 | 74 65 64 2e 20 41 6c 6c |ghly tes|ted. All|
|00005bd0| 20 64 65 6d 6f 73 20 77 | 6f 72 6b 20 6a 75 73 74 | demos w|ork just|
|00005be0| 0d 66 69 6e 65 20 6f 6e | 20 61 6c 6c 20 73 79 73 |.fine on| all sys|
|00005bf0| 74 65 6d 73 20 49 20 68 | 61 76 65 20 62 65 65 6e |tems I h|ave been|
|00005c00| 20 61 62 6c 65 20 74 6f | 20 74 72 79 20 74 68 65 | able to| try the|
|00005c10| 6d 20 6f 6e 2c 20 62 75 | 74 20 49 20 6e 65 65 64 |m on, bu|t I need|
|00005c20| 20 68 65 6c 70 20 74 6f | 20 66 69 6e 64 0d 6f 75 | help to| find.ou|
|00005c30| 74 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 61 |t if the|re are a|
|00005c40| 6e 79 20 73 65 72 69 6f | 75 73 20 62 75 67 73 20 |ny serio|us bugs |
|00005c50| 6c 65 66 74 2e 0d 0d 2d | 2d 0d 2d 20 2d 0d 49 6e |left...-|-.- -.In|
|00005c60| 67 65 6d 61 72 20 52 61 | 67 6e 65 6d 61 6c 6d 2c |gemar Ra|gnemalm,|
|00005c70| 20 50 68 44 0d 49 6d 61 | 67 65 20 70 72 6f 63 65 | PhD.Ima|ge proce|
|00005c80| 73 73 69 6e 67 2c 20 4d | 61 63 20 73 68 61 72 65 |ssing, M|ac share|
|00005c90| 77 61 72 65 20 67 61 6d | 65 73 0d 45 2d 6d 61 69 |ware gam|es.E-mai|
|00005ca0| 6c 20 61 64 64 72 65 73 | 73 3a 20 69 6e 67 65 6d |l addres|s: ingem|
|00005cb0| 61 72 40 69 73 79 2e 6c | 69 75 2e 73 65 20 6f 72 |ar@isy.l|iu.se or|
|00005cc0| 20 69 6e 67 65 6d 61 72 | 40 6c 79 73 61 74 6f 72 | ingemar|@lysator|
|00005cd0| 2e 6c 69 75 2e 73 65 0d | 0d 2d 2d 2d 2d 2d 2d 2d |.liu.se.|.-------|
|00005ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005cf0| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 44 5f 47 6c |----..>F|rom D_Gl|
|00005d00| 61 64 73 74 6f 6e 65 40 | 63 73 2e 61 75 63 6b 6c |adstone@|cs.auckl|
|00005d10| 61 6e 64 2e 61 63 2e 6e | 7a 20 28 44 61 76 69 64 |and.ac.n|z (David|
|00005d20| 20 47 6c 61 64 73 74 6f | 6e 65 29 0d 53 75 62 6a | Gladsto|ne).Subj|
|00005d30| 65 63 74 3a 20 55 50 50 | 27 73 20 26 20 63 61 6c |ect: UPP|'s & cal|
|00005d40| 6c 69 6e 67 20 63 6f 6d | 70 6c 65 74 69 6f 6e 20 |ling com|pletion |
|00005d50| 70 72 6f 63 73 0d 44 61 | 74 65 3a 20 54 68 75 2c |procs.Da|te: Thu,|
|00005d60| 20 31 37 20 4e 6f 76 20 | 31 39 39 34 20 30 38 3a | 17 Nov |1994 08:|
|00005d70| 35 35 3a 35 33 20 2b 31 | 32 30 30 0d 4f 72 67 61 |55:53 +1|200.Orga|
|00005d80| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|00005d90| 73 69 74 79 20 6f 66 20 | 41 75 63 6b 6c 61 6e 64 |sity of |Auckland|
|00005da0| 2c 20 4e 65 77 20 5a 65 | 61 6c 61 6e 64 2e 0d 0d |, New Ze|aland...|
|00005db0| 0d 48 69 2e 20 20 49 20 | 68 61 76 65 20 62 65 65 |.Hi. I |have bee|
|00005dc0| 6e 20 68 61 76 69 6e 67 | 20 73 6f 6d 65 20 63 6f |n having| some co|
|00005dd0| 6e 63 65 70 74 75 61 6c | 20 70 72 6f 62 6c 65 6d |nceptual| problem|
|00005de0| 73 20 77 69 74 68 20 55 | 50 50 73 2e 20 20 49 20 |s with U|PPs. I |
|00005df0| 61 6d 20 77 72 69 74 69 | 6e 67 0d 61 20 43 61 74 |am writi|ng.a Cat|
|00005e00| 61 6c 6f 67 20 53 65 72 | 76 69 63 65 20 41 63 63 |alog Ser|vice Acc|
|00005e10| 65 73 73 20 4d 6f 64 75 | 6c 65 20 64 72 69 76 65 |ess Modu|le drive|
|00005e20| 72 20 77 68 69 63 68 20 | 6e 65 65 64 73 20 74 6f |r which |needs to|
|00005e30| 20 63 61 6c 6c 20 61 20 | 63 6f 6d 70 6c 65 74 69 | call a |completi|
|00005e40| 6f 6e 0d 72 6f 75 74 69 | 6e 65 2e 0d 0d 49 20 68 |on.routi|ne...I h|
|00005e50| 61 76 65 20 62 65 65 6e | 20 67 65 74 74 69 6e 67 |ave been| getting|
|00005e60| 20 63 6f 6e 66 75 73 65 | 64 20 61 62 6f 75 74 20 | confuse|d about |
|00005e70| 68 6f 77 20 74 68 69 6e | 67 73 20 77 6f 72 6b 20 |how thin|gs work |
|00005e80| 28 65 73 70 65 63 69 61 | 6c 6c 79 20 77 69 74 68 |(especia|lly with|
|00005e90| 20 43 46 4d 36 38 4b 0d | 6f 6e 20 74 68 65 20 68 | CFM68K.|on the h|
|00005ea0| 6f 72 69 7a 6f 6e 29 2e | 20 20 49 20 77 72 6f 74 |orizon).| I wrot|
|00005eb0| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |e the fo|llowing |
|00005ec0| 69 6e 69 74 69 61 6c 6c | 79 20 61 73 20 61 20 73 |initiall|y as a s|
|00005ed0| 65 72 69 65 73 20 6f 66 | 20 71 75 65 73 74 69 6f |eries of| questio|
|00005ee0| 6e 73 0d 61 6e 64 20 28 | 61 73 20 69 73 20 6f 66 |ns.and (|as is of|
|00005ef0| 74 65 6e 20 74 68 65 20 | 63 61 73 65 29 20 6d 61 |ten the |case) ma|
|00005f00| 6e 61 67 65 64 20 74 6f | 20 66 69 6e 64 20 70 6c |naged to| find pl|
|00005f10| 61 75 73 69 62 6c 65 20 | 61 6e 73 77 65 72 73 20 |ausible |answers |
|00005f20| 6a 75 73 74 20 62 79 20 | 74 72 79 69 6e 67 0d 74 |just by |trying.t|
|00005f30| 6f 20 70 68 72 61 73 65 | 20 74 68 65 20 71 75 65 |o phrase| the que|
|00005f40| 73 74 69 6f 6e 73 20 2d | 20 73 6f 20 49 20 68 61 |stions -| so I ha|
|00005f50| 76 65 20 73 74 61 74 65 | 64 20 77 68 61 74 20 49 |ve state|d what I|
|00005f60| 20 75 6e 64 65 72 73 74 | 61 6e 64 20 69 6e 73 74 | underst|and inst|
|00005f70| 65 61 64 2e 20 20 48 6f | 77 0d 61 63 63 75 72 61 |ead. Ho|w.accura|
|00005f80| 74 65 20 69 73 20 6d 79 | 20 76 65 72 73 69 6f 6e |te is my| version|
|00005f90| 20 6f 66 20 74 68 65 20 | 73 74 6f 72 79 20 62 65 | of the |story be|
|00005fa0| 6c 6f 77 2e 20 20 49 74 | 20 68 61 73 20 62 65 65 |low. It| has bee|
|00005fb0| 6e 20 61 20 77 68 69 6c | 65 20 73 69 6e 63 65 20 |n a whil|e since |
|00005fc0| 49 20 72 65 61 64 0d 64 | 65 76 65 6c 6f 70 20 31 |I read.d|evelop 1|
|00005fd0| 37 20 28 31 36 3f 29 20 | 22 4d 61 6b 69 6e 67 20 |7 (16?) |"Making |
|00005fe0| 74 68 65 20 4c 65 61 70 | 20 74 6f 20 50 6f 77 65 |the Leap| to Powe|
|00005ff0| 72 50 43 22 2e 2e 2e 0d | 0d 0d 54 68 65 20 77 61 |rPC"....|..The wa|
|00006000| 79 20 49 20 66 69 67 75 | 72 65 20 69 74 2c 20 74 |y I figu|re it, t|
|00006010| 68 65 72 65 20 61 72 65 | 20 73 65 76 65 72 61 6c |here are| several|
|00006020| 20 73 69 74 75 61 74 69 | 6f 6e 73 20 74 68 61 74 | situati|ons that|
|00006030| 20 63 6f 75 6c 64 20 6f | 63 63 75 72 20 61 74 20 | could o|ccur at |
|00006040| 72 75 6e 74 69 6d 65 0d | 66 6f 72 20 6d 79 20 64 |runtime.|for my d|
|00006050| 72 69 76 65 72 3a 0d 0d | 31 2e 20 49 20 61 6d 20 |river:..|1. I am |
|00006060| 36 38 4b 20 63 6f 64 65 | 20 61 6e 64 20 74 68 65 |68K code| and the|
|00006070| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 72 6f 75 74 | complet|ion rout|
|00006080| 69 6e 65 20 66 69 65 6c | 64 20 69 73 20 61 20 50 |ine fiel|d is a P|
|00006090| 72 6f 63 50 74 72 0d 32 | 2e 20 49 20 61 6d 20 36 |rocPtr.2|. I am 6|
|000060a0| 38 4b 20 63 6f 64 65 20 | 61 6e 64 20 74 68 65 20 |8K code |and the |
|000060b0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 72 6f 75 74 69 |completi|on routi|
|000060c0| 6e 65 20 66 69 65 6c 64 | 20 69 73 20 61 20 55 50 |ne field| is a UP|
|000060d0| 50 20 28 65 69 74 68 65 | 72 20 50 50 43 20 6f 72 |P (eithe|r PPC or|
|000060e0| 20 36 38 4b 0d 20 20 20 | 63 6f 64 65 20 66 72 61 | 68K. |code fra|
|000060f0| 67 6d 65 6e 74 29 0d 33 | 2e 20 49 20 61 6d 20 50 |gment).3|. I am P|
|00006100| 50 43 20 63 6f 64 65 20 | 61 6e 64 20 74 68 65 20 |PC code |and the |
|00006110| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 72 6f 75 74 69 |completi|on routi|
|00006120| 6e 65 20 66 69 65 6c 64 | 20 69 73 20 61 20 55 50 |ne field| is a UP|
|00006130| 50 20 28 65 69 74 68 65 | 72 20 50 50 43 20 6f 72 |P (eithe|r PPC or|
|00006140| 20 36 38 4b 0d 20 20 20 | 63 6f 64 65 20 66 72 61 | 68K. |code fra|
|00006150| 67 6d 65 6e 74 29 0d 34 | 2e 20 49 20 61 6d 20 50 |gment).4|. I am P|
|00006160| 50 43 20 63 6f 64 65 20 | 61 6e 64 20 74 68 65 20 |PC code |and the |
|00006170| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 72 6f 75 74 69 |completi|on routi|
|00006180| 6e 65 20 66 69 65 6c 64 | 20 69 73 20 61 20 50 72 |ne field| is a Pr|
|00006190| 6f 63 50 74 72 20 28 66 | 72 6f 6d 20 61 20 36 38 |ocPtr (f|rom a 68|
|000061a0| 4b 2c 0d 20 20 20 6e 6f | 6e 20 43 46 4d 36 38 4b |K,. no|n CFM68K|
|000061b0| 20 61 70 70 29 0d 20 20 | 20 0d 0d 43 61 73 65 20 | app). | ..Case |
|000061c0| 31 20 77 6f 75 6c 64 20 | 6f 63 63 75 72 20 77 68 |1 would |occur wh|
|000061d0| 65 6e 20 77 65 20 61 72 | 65 20 72 75 6e 6e 69 6e |en we ar|e runnin|
|000061e0| 67 20 6f 6e 20 61 20 50 | 50 43 20 69 6e 20 65 6d |g on a P|PC in em|
|000061f0| 75 6c 61 74 69 6f 6e 20 | 6f 72 20 6f 6e 20 61 20 |ulation |or on a |
|00006200| 36 38 4b 0d 6d 61 63 68 | 69 6e 65 20 61 6e 64 20 |68K.mach|ine and |
|00006210| 61 6e 20 6f 6c 64 20 70 | 69 65 63 65 20 6f 66 20 |an old p|iece of |
|00006220| 73 6f 66 74 77 61 72 65 | 20 63 61 6c 6c 73 20 6d |software| calls m|
|00006230| 65 2e 20 20 53 69 6e 63 | 65 20 6d 79 20 63 6f 64 |e. Sinc|e my cod|
|00006240| 65 20 69 73 20 36 38 4b | 20 61 6e 64 0d 49 20 64 |e is 68K| and.I d|
|00006250| 6f 6e 27 74 20 68 61 76 | 65 20 43 46 4d 36 38 4b |on't hav|e CFM68K|
|00006260| 20 61 74 20 6d 79 20 64 | 69 73 70 6f 73 61 6c 20 | at my d|isposal |
|00006270| 74 68 65 20 6f 6e 6c 79 | 20 6f 70 74 69 6f 6e 20 |the only| option |
|00006280| 49 20 68 61 76 65 20 69 | 73 20 74 6f 20 63 61 6c |I have i|s to cal|
|00006290| 6c 0d 74 68 65 20 72 6f | 75 74 69 6e 65 20 61 73 |l.the ro|utine as|
|000062a0| 20 69 66 20 69 74 20 77 | 65 72 65 20 61 20 50 72 | if it w|ere a Pr|
|000062b0| 6f 63 50 74 72 20 28 77 | 68 69 63 68 20 69 73 20 |ocPtr (w|hich is |
|000062c0| 66 69 6e 65 20 69 6e 20 | 74 68 69 73 20 63 61 73 |fine in |this cas|
|000062d0| 65 29 2e 0d 0d 0d 43 61 | 73 65 20 32 20 77 6f 75 |e)....Ca|se 2 wou|
|000062e0| 6c 64 20 6f 63 63 75 72 | 20 77 68 65 6e 20 61 20 |ld occur| when a |
|000062f0| 36 38 4b 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |68K vers|ion of t|
|00006300| 68 65 20 64 72 69 76 65 | 72 20 69 73 20 72 75 6e |he drive|r is run|
|00006310| 6e 69 6e 67 20 69 6e 20 | 65 6d 75 6c 61 74 69 6f |ning in |emulatio|
|00006320| 6e 0d 6f 6e 20 61 20 50 | 50 43 20 6f 72 20 69 74 |n.on a P|PC or it|
|00006330| 20 69 73 20 72 75 6e 6e | 69 6e 67 20 6f 6e 20 61 | is runn|ing on a|
|00006340| 20 36 38 4b 20 6d 61 63 | 68 69 6e 65 20 77 69 74 | 68K mac|hine wit|
|00006350| 68 20 43 46 4d 36 38 4b | 20 69 6e 73 74 61 6c 6c |h CFM68K| install|
|00006360| 65 64 2e 0d 0d 49 74 20 | 77 6f 75 6c 64 20 6e 6f |ed...It |would no|
|00006370| 74 20 62 65 20 73 6f 20 | 64 69 66 66 69 63 75 6c |t be so |difficul|
|00006380| 74 20 69 66 20 43 46 4d | 36 38 4b 20 65 78 69 73 |t if CFM|68K exis|
|00006390| 74 65 64 20 2d 20 49 20 | 63 6f 75 6c 64 20 75 73 |ted - I |could us|
|000063a0| 65 20 69 74 20 74 6f 20 | 64 69 73 70 61 74 63 68 |e it to |dispatch|
|000063b0| 0d 61 6c 6c 20 55 50 50 | 20 63 61 6c 6c 73 20 61 |.all UPP| calls a|
|000063c0| 6e 64 20 69 74 20 77 6f | 75 6c 64 20 64 65 74 65 |nd it wo|uld dete|
|000063d0| 72 6d 69 6e 65 20 77 68 | 65 74 68 65 72 20 74 68 |rmine wh|ether th|
|000063e0| 65 20 70 6f 69 6e 74 65 | 72 20 77 61 73 20 61 20 |e pointe|r was a |
|000063f0| 72 65 61 6c 20 55 50 50 | 20 6f 72 0d 6e 6f 74 2e |real UPP| or.not.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.